public class CommandBlockTileEntity extends TileEntity
Modifier and Type | Class and Description |
---|---|
static class |
CommandBlockTileEntity.Mode |
pos, removed, world
INFINITE_EXTENT_AABB
Constructor and Description |
---|
CommandBlockTileEntity() |
Modifier and Type | Method and Description |
---|---|
CommandBlockLogic |
getCommandBlockLogic() |
CommandBlockTileEntity.Mode |
getMode() |
SUpdateTileEntityPacket |
getUpdatePacket() |
boolean |
isAuto() |
boolean |
isConditional() |
boolean |
isConditionMet() |
boolean |
isPowered() |
boolean |
isSendToClient() |
boolean |
onlyOpsCanSetNbt() |
void |
read(CompoundNBT compound) |
void |
setAuto(boolean autoIn) |
boolean |
setConditionMet() |
void |
setPowered(boolean poweredIn) |
void |
setSendToClient(boolean p_184252_1_) |
void |
validate() |
CompoundNBT |
write(CompoundNBT compound) |
addInfoToCrashReport, create, getBlockState, getDistanceSq, getMaxRenderDistanceSquared, getPos, getTileData, getType, getUpdateTag, getWorld, hasWorld, isRemoved, markDirty, mirror, receiveClientEvent, remove, rotate, setPos, setWorld, updateContainingBlockInfo, 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 CompoundNBT write(CompoundNBT compound)
write
in class TileEntity
public void read(CompoundNBT compound)
read
in class TileEntity
@Nullable public SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket
in class TileEntity
public boolean onlyOpsCanSetNbt()
onlyOpsCanSetNbt
in class TileEntity
public CommandBlockLogic getCommandBlockLogic()
public void setPowered(boolean poweredIn)
public boolean isPowered()
public boolean isAuto()
public void setAuto(boolean autoIn)
public boolean isConditionMet()
public boolean setConditionMet()
public boolean isSendToClient()
public void setSendToClient(boolean p_184252_1_)
public CommandBlockTileEntity.Mode getMode()
public boolean isConditional()
public void validate()
validate
in class TileEntity