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, INFINITE_EXTENT_AABB, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord| Constructor and Description |
|---|
TileEntityChest() |
TileEntityChest(int par1) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkForAdjacentChests() |
void |
closeInventory() |
ItemStack |
decrStackSize(int par1,
int par2) |
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 par1) |
ItemStack |
getStackInSlotOnClosing(int par1) |
boolean |
hasCustomInventoryName() |
void |
invalidate() |
boolean |
isItemValidForSlot(int par1,
ItemStack par2ItemStack) |
boolean |
isUseableByPlayer(EntityPlayer par1EntityPlayer) |
void |
openInventory() |
void |
readFromNBT(NBTTagCompound p_145839_1_) |
boolean |
receiveClientEvent(int p_145842_1_,
int p_145842_2_) |
void |
setInventorySlotContents(int par1,
ItemStack par2ItemStack) |
void |
updateContainingBlockInfo() |
void |
updateEntity() |
void |
writeToNBT(NBTTagCompound p_145841_1_) |
addMapping, canUpdate, createAndLoadEntity, func_145828_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, isInvalid, markDirty, onChunkUnload, onDataPacket, setWorldObj, shouldRefresh, shouldRenderInPass, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitmarkDirtypublic 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 par1)
public int getSizeInventory()
getSizeInventory in interface IInventorypublic ItemStack getStackInSlot(int par1)
getStackInSlot in interface IInventorypublic ItemStack decrStackSize(int par1, int par2)
decrStackSize in interface IInventorypublic ItemStack getStackInSlotOnClosing(int par1)
getStackInSlotOnClosing in interface IInventorypublic void setInventorySlotContents(int par1,
ItemStack par2ItemStack)
setInventorySlotContents in interface IInventorypublic java.lang.String getInventoryName()
getInventoryName in interface IInventorypublic boolean hasCustomInventoryName()
hasCustomInventoryName in interface IInventorypublic void func_145976_a(java.lang.String p_145976_1_)
public 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 par1EntityPlayer)
isUseableByPlayer in interface IInventorypublic void updateContainingBlockInfo()
updateContainingBlockInfo in class TileEntitypublic void checkForAdjacentChests()
public void updateEntity()
updateEntity in class TileEntitypublic boolean receiveClientEvent(int p_145842_1_,
int p_145842_2_)
receiveClientEvent in class TileEntitypublic void openInventory()
openInventory in interface IInventorypublic void closeInventory()
closeInventory in interface IInventorypublic boolean isItemValidForSlot(int par1,
ItemStack par2ItemStack)
isItemValidForSlot in interface IInventorypublic void invalidate()
invalidate in class TileEntitypublic int func_145980_j()