public class TileEntityDispenser extends TileEntity implements IInventory
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
field_146020_a |
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord| Constructor and Description |
|---|
TileEntityDispenser() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeInventory() |
ItemStack |
decrStackSize(int p_70298_1_,
int p_70298_2_) |
int |
func_146017_i() |
void |
func_146018_a(java.lang.String p_146018_1_) |
int |
func_146019_a(ItemStack p_146019_1_) |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int p_70301_1_) |
ItemStack |
getStackInSlotOnClosing(int p_70304_1_) |
boolean |
hasCustomInventoryName() |
boolean |
isItemValidForSlot(int p_94041_1_,
ItemStack p_94041_2_) |
boolean |
isUseableByPlayer(EntityPlayer p_70300_1_) |
void |
openInventory() |
void |
readFromNBT(NBTTagCompound p_145839_1_) |
void |
setInventorySlotContents(int p_70299_1_,
ItemStack p_70299_2_) |
void |
writeToNBT(NBTTagCompound p_145841_1_) |
addMapping, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, invalidate, isInvalid, markDirty, receiveClientEvent, setWorldObj, updateContainingBlockInfo, updateEntity, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarkDirtypublic int getSizeInventory()
getSizeInventory in interface IInventorypublic ItemStack getStackInSlot(int p_70301_1_)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int p_70298_1_, int p_70298_2_)
decrStackSize in interface IInventorypublic ItemStack getStackInSlotOnClosing(int p_70304_1_)
getStackInSlotOnClosing in interface IInventorypublic int func_146017_i()
public void setInventorySlotContents(int p_70299_1_,
ItemStack p_70299_2_)
setInventorySlotContents in interface IInventorypublic int func_146019_a(ItemStack p_146019_1_)
public java.lang.String getInventoryName()
getInventoryName in interface IInventorypublic void func_146018_a(java.lang.String p_146018_1_)
public boolean hasCustomInventoryName()
hasCustomInventoryName in interface IInventorypublic void readFromNBT(NBTTagCompound p_145839_1_)
readFromNBT in class TileEntitypublic void writeToNBT(NBTTagCompound p_145841_1_)
writeToNBT in class TileEntitypublic int getInventoryStackLimit()
getInventoryStackLimit in interface IInventorypublic boolean isUseableByPlayer(EntityPlayer p_70300_1_)
isUseableByPlayer in interface IInventorypublic void openInventory()
openInventory in interface IInventorypublic void closeInventory()
closeInventory in interface IInventorypublic boolean isItemValidForSlot(int p_94041_1_,
ItemStack p_94041_2_)
isItemValidForSlot in interface IInventory