public class TileEntitySign extends TileEntity
Modifier and Type | Field and Description |
---|---|
private boolean |
isEditable |
int |
lineBeingEdited |
private EntityPlayer |
player |
ITextComponent[] |
signText |
private CommandResultStats |
stats |
blockType, INFINITE_EXTENT_AABB, pos, tileEntityInvalid, world
Constructor and Description |
---|
TileEntitySign() |
Modifier and Type | Method and Description |
---|---|
boolean |
executeCommand(EntityPlayer playerIn) |
boolean |
getIsEditable() |
EntityPlayer |
getPlayer() |
CommandResultStats |
getStats() |
SPacketUpdateTileEntity |
getUpdatePacket() |
NBTTagCompound |
getUpdateTag() |
boolean |
onlyOpsCanSetNbt() |
void |
readFromNBT(NBTTagCompound compound) |
void |
setEditable(boolean isEditableIn) |
void |
setPlayer(EntityPlayer playerIn) |
protected void |
setWorldCreate(World worldIn) |
NBTTagCompound |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, canRenderBreaking, create, deserializeNBT, getBlockMetadata, getBlockType, getCapability, getDisplayName, getDistanceSq, getKey, getMaxRenderDistanceSquared, getPos, getRenderBoundingBox, getTileData, getWorld, handleUpdateTag, hasCapability, hasFastRenderer, hasWorld, invalidate, isInvalid, markDirty, mirror, onChunkUnload, onDataPacket, onLoad, receiveClientEvent, register, restrictNBTCopy, rotate, serializeNBT, setPos, setWorld, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, validate
public final ITextComponent[] signText
public int lineBeingEdited
private boolean isEditable
private EntityPlayer player
private final CommandResultStats stats
public NBTTagCompound writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
protected void setWorldCreate(World worldIn)
setWorldCreate
in class TileEntity
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
@Nullable public SPacketUpdateTileEntity getUpdatePacket()
getUpdatePacket
in class TileEntity
public NBTTagCompound getUpdateTag()
getUpdateTag
in class TileEntity
public boolean onlyOpsCanSetNbt()
onlyOpsCanSetNbt
in class TileEntity
public boolean getIsEditable()
public void setEditable(boolean isEditableIn)
public void setPlayer(EntityPlayer playerIn)
public EntityPlayer getPlayer()
public boolean executeCommand(EntityPlayer playerIn)
public CommandResultStats getStats()