|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.minecraft.tileentity.TileEntity
net.minecraft.tileentity.TileEntityEnderChest
public class TileEntityEnderChest
Field Summary | |
---|---|
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 |
Fields inherited from class net.minecraft.tileentity.TileEntity |
---|
blockMetadata, blockType, worldObj, xCoord, yCoord, zCoord |
Constructor Summary | |
---|---|
TileEntityEnderChest()
|
Method Summary | |
---|---|
void |
closeChest()
|
void |
invalidate()
invalidates a tile entity |
boolean |
isUseableByPlayer(EntityPlayer par1EntityPlayer)
|
void |
openChest()
|
void |
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. |
Methods inherited from class net.minecraft.tileentity.TileEntity |
---|
addMapping, canUpdate, createAndLoadEntity, func_70309_m, func_82115_m, func_85027_a, getBlockMetadata, getBlockType, getDescriptionPacket, getDistanceFrom, getWorldObj, isInvalid, onChunkUnload, onDataPacket, onInventoryChanged, readFromNBT, setWorldObj, shouldRefresh, updateContainingBlockInfo, validate, writeToNBT |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public float lidAngle
public float prevLidAngle
public int numUsingPlayers
Constructor Detail |
---|
public TileEntityEnderChest()
Method Detail |
---|
public void updateEntity()
updateEntity
in class TileEntity
public void receiveClientEvent(int par1, int par2)
receiveClientEvent
in class TileEntity
public void invalidate()
invalidate
in class TileEntity
public void openChest()
public void closeChest()
public boolean isUseableByPlayer(EntityPlayer par1EntityPlayer)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |