public class EnderChestTileEntity extends TileEntity implements IChestLid, ITickableTileEntity
| Modifier and Type | Field and Description |
|---|---|
float |
lidAngle |
int |
numPlayersUsing |
float |
prevLidAngle |
pos, removed, worldINFINITE_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, setWorld, updateContainingBlockInfo, validate, warnInvalidBlock, writeareCapsCompatible, areCapsCompatible, deserializeCaps, gatherCapabilities, gatherCapabilities, getCapabilities, getCapability, invalidateCaps, reviveCaps, serializeCapsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcanRenderBreaking, deserializeNBT, getModelData, getRenderBoundingBox, getTileEntity, handleUpdateTag, hasFastRenderer, onChunkUnloaded, onDataPacket, onLoad, requestModelDataUpdate, serializeNBTgetCapability, getCapabilitypublic float lidAngle
public float prevLidAngle
public int numPlayersUsing
public void tick()
tick in interface ITickableTileEntitypublic boolean receiveClientEvent(int id,
int type)
receiveClientEvent in class TileEntitypublic void remove()
remove in class TileEntitypublic void openChest()
public void closeChest()
public boolean canBeUsed(PlayerEntity player)
public float getLidAngle(float partialTicks)
getLidAngle in interface IChestLid