public class EnderChestTileEntity extends TileEntity implements IChestLid, ITickableTileEntity
Modifier and Type | Field and Description |
---|---|
float |
lidAngle |
int |
numPlayersUsing |
float |
prevLidAngle |
private int |
ticksSinceSync |
pos, removed, world
INFINITE_EXTENT_AABB
Constructor and Description |
---|
EnderChestTileEntity() |
Modifier and Type | Method and Description |
---|---|
boolean |
canBeUsed(PlayerEntity player) |
void |
closeChest() |
float |
getLidAngle(float partialTicks) |
void |
openChest() |
boolean |
receiveClientEvent(int id,
int type) |
void |
remove() |
void |
tick() |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getUpdatePacket, getUpdateTag, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, read, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlock, write
areCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCaps
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
canRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBT
getCapability, getCapability
public float lidAngle
public float prevLidAngle
public int numPlayersUsing
private int ticksSinceSync
public void tick()
tick
in interface ITickableTileEntity
public boolean receiveClientEvent(int id, int type)
receiveClientEvent
in class TileEntity
public void remove()
remove
in class TileEntity
public void openChest()
public void closeChest()
public boolean canBeUsed(PlayerEntity player)
public float getLidAngle(float partialTicks)
getLidAngle
in interface IChestLid