public class TileEntityEnderChest extends TileEntity
| Modifier and Type | Field and Description |
|---|---|
float |
lidAngle
The current angle of the chest lid (between 0 and 1)
|
int |
numUsingPlayers
The number of players currently using this ender chest.
|
float |
prevLidAngle
The angle of the chest lid last tick
|
blockMetadata, blockType, INFINITE_EXTENT_AABB, worldObj, xCoord, yCoord, zCoord| Constructor and Description |
|---|
TileEntityEnderChest() |
| Modifier and Type | Method and Description |
|---|---|
void |
closeChest() |
void |
invalidate()
invalidates a tile entity
|
boolean |
isUseableByPlayer(EntityPlayer par1EntityPlayer) |
void |
openChest() |
boolean |
receiveClientEvent(int par1,
int par2)
Called when a client event is received with the event number and argument, see World.sendClientEvent
|
void |
updateEntity()
Allows the entity to update its state.
|
addMapping, canUpdate, createAndLoadEntity, func_70309_m, func_85027_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, isInvalid, onChunkUnload, onDataPacket, onInventoryChanged, readFromNBT, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate, writeToNBTpublic float lidAngle
public float prevLidAngle
public int numUsingPlayers
public void updateEntity()
updateEntity in class TileEntitypublic boolean receiveClientEvent(int par1,
int par2)
receiveClientEvent in class TileEntitypublic void invalidate()
invalidate in class TileEntitypublic void openChest()
public void closeChest()
public boolean isUseableByPlayer(EntityPlayer par1EntityPlayer)