public class TileEntityDispenser extends TileEntity implements IInventory
field_31007_h, worldObj, xCoord, yCoord, zCoord| Constructor and Description |
|---|
TileEntityDispenser() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canInteractWith(EntityPlayer entityplayer) |
ItemStack |
decrStackSize(int i,
int j) |
int |
getInventoryStackLimit() |
java.lang.String |
getInvName() |
ItemStack |
getRandomStackFromInventory() |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int i) |
void |
readFromNBT(NBTTagCompound nbttagcompound) |
void |
setInventorySlotContents(int i,
ItemStack itemstack) |
void |
writeToNBT(NBTTagCompound nbttagcompound) |
createAndLoadEntity, func_31004_j, func_31005_i, func_31006_g, getBlockMetadata, getBlockType, getDistanceFrom, onInventoryChanged, updateEntityclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitonInventoryChangedpublic int getSizeInventory()
getSizeInventory in interface IInventorypublic ItemStack getStackInSlot(int i)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int i, int j)
decrStackSize in interface IInventorypublic ItemStack getRandomStackFromInventory()
public void setInventorySlotContents(int i,
ItemStack itemstack)
setInventorySlotContents in interface IInventorypublic java.lang.String getInvName()
getInvName in interface IInventorypublic void readFromNBT(NBTTagCompound nbttagcompound)
readFromNBT in class TileEntitypublic void writeToNBT(NBTTagCompound nbttagcompound)
writeToNBT in class TileEntitypublic int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic boolean canInteractWith(EntityPlayer entityplayer)
canInteractWith in interface IInventory