public class ConduitTileEntity extends TileEntity implements ITickableTileEntity
修飾子とタイプ | フィールドと説明 |
---|---|
int |
ticksExisted |
pos, removed, world
INFINITE_EXTENT_AABB
コンストラクタと説明 |
---|
ConduitTileEntity() |
ConduitTileEntity(TileEntityType<?> p_i48929_1_) |
修飾子とタイプ | メソッドと説明 |
---|---|
float |
getActiveRotation(float p_205036_1_) |
SUpdateTileEntityPacket |
getUpdatePacket()
Retrieves packet to send to the client whenever this Tile Entity is resynced via World.notifyBlockUpdate.
|
CompoundNBT |
getUpdateTag()
Get an NBT compound to sync to the client with SPacketChunkData, used for initial loading of the chunk or when
many blocks change at once.
|
boolean |
isActive() |
boolean |
isEyeOpen() |
void |
playSound(SoundEvent p_205738_1_) |
void |
read(CompoundNBT compound) |
void |
tick() |
CompoundNBT |
write(CompoundNBT compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getWorld, hasWorld, isRemoved, markDirty, mirror, onlyOpsCanSetNbt, receiveClientEvent, remove, rotate, setPos, setWorldAndPos, updateContainingBlockInfo, validate, warnInvalidBlock
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 ConduitTileEntity()
public ConduitTileEntity(TileEntityType<?> p_i48929_1_)
public void read(CompoundNBT compound)
read
クラス内 TileEntity
public CompoundNBT write(CompoundNBT compound)
write
クラス内 TileEntity
@Nullable public SUpdateTileEntityPacket getUpdatePacket()
IForgeTileEntity.onDataPacket(net.minecraft.network.NetworkManager, net.minecraft.network.play.server.SUpdateTileEntityPacket)
getUpdatePacket
クラス内 TileEntity
public CompoundNBT getUpdateTag()
handleUpdateTag
getUpdateTag
クラス内 TileEntity
public void tick()
tick
インタフェース内 ITickableTileEntity
public boolean isActive()
public boolean isEyeOpen()
public float getActiveRotation(float p_205036_1_)
public void playSound(SoundEvent p_205738_1_)