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, worldINFINITE_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, 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 インタフェース内 ITickableTileEntitypublic boolean receiveClientEvent(int id,
int type)
Block#eventReceived for more information. This must return true serverside before it is called
clientside.receiveClientEvent クラス内 TileEntitypublic void remove()
remove クラス内 TileEntitypublic void openChest()
public void closeChest()
public boolean canBeUsed(PlayerEntity player)
public float getLidAngle(float partialTicks)
getLidAngle インタフェース内 IChestLid