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, worldINFINITE_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, warnInvalidBlockareCapsCompatible, 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, getCapabilityprivate boolean powered
private boolean auto
private boolean conditionMet
private boolean sendToClient
private final CommandBlockLogic commandBlockLogic
public CompoundNBT write(CompoundNBT compound)
write in class TileEntitypublic void read(CompoundNBT compound)
read in class TileEntity@Nullable public SUpdateTileEntityPacket getUpdatePacket()
getUpdatePacket in class TileEntitypublic boolean onlyOpsCanSetNbt()
onlyOpsCanSetNbt in class TileEntitypublic 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