public class CommandBlockTileEntity extends TileEntity
Modifier and Type | Class and Description |
---|---|
static class |
CommandBlockTileEntity.Mode |
Modifier and Type | Field and Description |
---|---|
private boolean |
auto |
private CommandBlockLogic |
commandBlockLogic |
private boolean |
conditionMet |
private boolean |
powered |
private boolean |
sendToClient |
pos, removed, world
INFINITE_EXTENT_AABB
Constructor and Description |
---|
CommandBlockTileEntity() |
Modifier and Type | Method and Description |
---|---|
void |
func_226987_h_() |
private void |
func_226988_y_() |
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, setWorldAndPos, 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
private boolean powered
private boolean auto
private boolean conditionMet
private boolean sendToClient
private final CommandBlockLogic commandBlockLogic
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 void func_226987_h_()
private void func_226988_y_()
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