public class TileEntityChest extends TileEntity implements IInventory
Modifier and Type | Field and Description |
---|---|
boolean |
adjacentChestChecked |
TileEntityChest |
adjacentChestXNeg |
TileEntityChest |
adjacentChestXPos |
TileEntityChest |
adjacentChestZNeg |
TileEntityChest |
adjacentChestZPos |
float |
lidAngle |
int |
numPlayersUsing |
float |
prevLidAngle |
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord
Constructor and Description |
---|
TileEntityChest() |
TileEntityChest(int p_i2350_1_) |
Modifier and Type | Method and Description |
---|---|
void |
checkForAdjacentChests() |
void |
closeInventory() |
ItemStack |
decrStackSize(int p_70298_1_,
int p_70298_2_) |
void |
func_145976_a(java.lang.String p_145976_1_) |
int |
func_145980_j() |
java.lang.String |
getInventoryName() |
int |
getInventoryStackLimit() |
int |
getSizeInventory() |
ItemStack |
getStackInSlot(int p_70301_1_) |
ItemStack |
getStackInSlotOnClosing(int p_70304_1_) |
boolean |
hasCustomInventoryName() |
void |
invalidate() |
boolean |
isItemValidForSlot(int p_94041_1_,
ItemStack p_94041_2_) |
boolean |
isUseableByPlayer(EntityPlayer p_70300_1_) |
void |
openInventory() |
void |
readFromNBT(NBTTagCompound p_145839_1_) |
boolean |
receiveClientEvent(int p_145842_1_,
int p_145842_2_) |
void |
setInventorySlotContents(int p_70299_1_,
ItemStack p_70299_2_) |
void |
updateContainingBlockInfo() |
void |
updateEntity() |
void |
writeToNBT(NBTTagCompound p_145841_1_) |
addMapping, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, isInvalid, markDirty, setWorldObj, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
markDirty
public boolean adjacentChestChecked
public TileEntityChest adjacentChestZNeg
public TileEntityChest adjacentChestXPos
public TileEntityChest adjacentChestXNeg
public TileEntityChest adjacentChestZPos
public float lidAngle
public float prevLidAngle
public int numPlayersUsing
public TileEntityChest()
public TileEntityChest(int p_i2350_1_)
public int getSizeInventory()
getSizeInventory
in interface IInventory
public ItemStack getStackInSlot(int p_70301_1_)
getStackInSlot
in interface IInventory
public ItemStack decrStackSize(int p_70298_1_, int p_70298_2_)
decrStackSize
in interface IInventory
public ItemStack getStackInSlotOnClosing(int p_70304_1_)
getStackInSlotOnClosing
in interface IInventory
public void setInventorySlotContents(int p_70299_1_, ItemStack p_70299_2_)
setInventorySlotContents
in interface IInventory
public java.lang.String getInventoryName()
getInventoryName
in interface IInventory
public boolean hasCustomInventoryName()
hasCustomInventoryName
in interface IInventory
public void func_145976_a(java.lang.String p_145976_1_)
public void readFromNBT(NBTTagCompound p_145839_1_)
readFromNBT
in class TileEntity
public void writeToNBT(NBTTagCompound p_145841_1_)
writeToNBT
in class TileEntity
public int getInventoryStackLimit()
getInventoryStackLimit
in interface IInventory
public boolean isUseableByPlayer(EntityPlayer p_70300_1_)
isUseableByPlayer
in interface IInventory
public void updateContainingBlockInfo()
updateContainingBlockInfo
in class TileEntity
public void checkForAdjacentChests()
public void updateEntity()
updateEntity
in class TileEntity
public boolean receiveClientEvent(int p_145842_1_, int p_145842_2_)
receiveClientEvent
in class TileEntity
public void openInventory()
openInventory
in interface IInventory
public void closeInventory()
closeInventory
in interface IInventory
public boolean isItemValidForSlot(int p_94041_1_, ItemStack p_94041_2_)
isItemValidForSlot
in interface IInventory
public void invalidate()
invalidate
in class TileEntity
public int func_145980_j()