public class TileEntitySign extends TileEntity
Modifier and Type | Field and Description |
---|---|
private boolean |
isEditable |
int |
lineBeingEdited
The index of the line currently being edited.
|
private EntityPlayer |
player |
IChatComponent[] |
signText |
private CommandResultStats |
stats |
blockType, pos, tileEntityInvalid, worldObj
Constructor and Description |
---|
TileEntitySign() |
Modifier and Type | Method and Description |
---|---|
boolean |
executeCommand(EntityPlayer playerIn) |
boolean |
func_183000_F() |
Packet |
getDescriptionPacket()
Allows for a specialized description packet to be created.
|
boolean |
getIsEditable() |
EntityPlayer |
getPlayer() |
CommandResultStats |
getStats() |
void |
readFromNBT(NBTTagCompound compound) |
void |
setEditable(boolean isEditableIn)
Sets the sign's isEditable flag to the specified parameter.
|
void |
setPlayer(EntityPlayer playerIn) |
void |
writeToNBT(NBTTagCompound compound) |
addInfoToCrashReport, createAndLoadEntity, getBlockMetadata, getBlockType, getDistanceSq, getMaxRenderDistanceSquared, getPos, getWorld, hasWorldObj, invalidate, isInvalid, markDirty, receiveClientEvent, setPos, setWorldObj, updateContainingBlockInfo, validate
public final IChatComponent[] signText
public int lineBeingEdited
private boolean isEditable
private EntityPlayer player
private final CommandResultStats stats
public void writeToNBT(NBTTagCompound compound)
writeToNBT
in class TileEntity
public void readFromNBT(NBTTagCompound compound)
readFromNBT
in class TileEntity
public Packet getDescriptionPacket()
getDescriptionPacket
in class TileEntity
public boolean func_183000_F()
func_183000_F
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()