public class EnderChestTileEntity extends TileEntity implements IChestLid, ITickableTileEntity
修飾子とタイプ | フィールドと説明 |
---|---|
float |
lidAngle |
int |
numPlayersUsing |
float |
prevLidAngle
The angle of the ender chest lid last tick
|
pos, removed, world
INFINITE_EXTENT_AABB
コンストラクタと説明 |
---|
EnderChestTileEntity() |
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
canBeUsed(PlayerEntity player) |
void |
closeChest() |
float |
getLidAngle(float partialTicks) |
void |
openChest() |
boolean |
receiveClientEvent(int id,
int type)
See
Block#eventReceived for more information. |
void |
remove()
invalidates a tile entity
|
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
public void tick()
tick
インタフェース内 ITickableTileEntity
public boolean receiveClientEvent(int id, int type)
Block#eventReceived
for more information. This must return true serverside before it is called
clientside.receiveClientEvent
クラス内 TileEntity
public void remove()
remove
クラス内 TileEntity
public void openChest()
public void closeChest()
public boolean canBeUsed(PlayerEntity player)
public float getLidAngle(float partialTicks)
getLidAngle
インタフェース内 IChestLid