public class TileEntityCommandBlock extends TileEntity
Modifier and Type | Class and Description |
---|---|
static class |
TileEntityCommandBlock.Mode |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, worldObj
Constructor and Description |
---|
TileEntityCommandBlock() |
Modifier and Type | Method and Description |
---|---|
CommandBlockBaseLogic |
getCommandBlockLogic() |
CommandResultStats |
getCommandResultStats() |
TileEntityCommandBlock.Mode |
getMode() |
SPacketUpdateTileEntity |
getUpdatePacket() |
boolean |
isAuto() |
boolean |
isConditional() |
boolean |
isConditionMet() |
boolean |
isPowered() |
boolean |
isSendToClient() |
boolean |
onlyOpsCanSetNbt() |
void |
readFromNBT(NBTTagCompound compound) |
void |
setAuto(boolean autoIn) |
void |
setConditionMet(boolean conditionMetIn) |
void |
setPowered(boolean poweredIn) |
void |
setSendToClient(boolean p_184252_1_) |
void |
validate() |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, addMapping, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDistanceSq, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getUpdateTag, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorldObj, invalidate, isInvalid, markDirty, onChunkUnload, onDataPacket, onLoad, receiveClientEvent, restrictNBTCopy, serializeNBT, setPos, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
@Nullable public SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket
in class TileEntity
public boolean onlyOpsCanSetNbt()
onlyOpsCanSetNbt
in class TileEntity
public CommandBlockBaseLogic getCommandBlockLogic()
public CommandResultStats getCommandResultStats()
public void setPowered(boolean poweredIn)
public boolean isPowered()
public boolean isAuto()
public void setAuto(boolean autoIn)
public boolean isConditionMet()
public void setConditionMet(boolean conditionMetIn)
public boolean isSendToClient()
public void setSendToClient(boolean p_184252_1_)
public TileEntityCommandBlock.Mode getMode()
public boolean isConditional()
public void validate()
validate
in class TileEntity