public class TileEntitySign extends TileEntity
| Modifier and Type | Field and Description |
|---|---|
int |
lineBeingEdited
The index of the line currently being edited.
|
String[] |
signText
An array of four strings storing the lines of text on the sign.
|
blockMetadata, blockType, INFINITE_EXTENT_AABB, worldObj, xCoord, yCoord, zCoord| Constructor and Description |
|---|
TileEntitySign() |
| Modifier and Type | Method and Description |
|---|---|
Packet |
getDescriptionPacket()
Overriden in a sign to provide the text.
|
boolean |
isEditable() |
void |
readFromNBT(NBTTagCompound par1NBTTagCompound)
Reads a tile entity from NBT.
|
void |
setEditable(boolean par1) |
void |
writeToNBT(NBTTagCompound par1NBTTagCompound)
Writes a tile entity to NBT.
|
addMapping, canUpdate, createAndLoadEntity, func_70309_m, func_85027_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, invalidate, isInvalid, onChunkUnload, onDataPacket, onInventoryChanged, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, updateEntity, validatepublic String[] signText
public int lineBeingEdited
public void writeToNBT(NBTTagCompound par1NBTTagCompound)
writeToNBT in class TileEntitypublic void readFromNBT(NBTTagCompound par1NBTTagCompound)
readFromNBT in class TileEntitypublic Packet getDescriptionPacket()
getDescriptionPacket in class TileEntitypublic boolean isEditable()
public void setEditable(boolean par1)