net.minecraft.src
Class TileEntitySign
java.lang.Object
  
net.minecraft.src.TileEntity
      
net.minecraft.src.TileEntitySign
public class TileEntitySign
- extends TileEntity
 
| 
Field Summary | 
 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. | 
 
 
 
 
| Methods inherited from class net.minecraft.src.TileEntity | 
addMapping, canUpdate, createAndLoadEntity, func_70309_m, func_82115_m, getBlockMetadata, getBlockType, getDistanceFrom, getWorldObj, invalidate, isInvalid, onChunkUnload, onDataPacket, onInventoryChanged, receiveClientEvent, setWorldObj, updateContainingBlockInfo, updateEntity, validate | 
 
 
signText
public String[] signText
- An array of four strings storing the lines of text on the sign.
 
lineBeingEdited
public int lineBeingEdited
- The index of the line currently being edited. Only used on client side, but defined on both. Note this is only
 really used when the > < are going to be visible.
 
TileEntitySign
public TileEntitySign()
writeToNBT
public void writeToNBT(NBTTagCompound par1NBTTagCompound)
- Writes a tile entity to NBT.
- Overrides:
 writeToNBT in class TileEntity
 
 
 
readFromNBT
public void readFromNBT(NBTTagCompound par1NBTTagCompound)
- Reads a tile entity from NBT.
- Overrides:
 readFromNBT in class TileEntity
 
 
 
getDescriptionPacket
public Packet getDescriptionPacket()
- Overriden in a sign to provide the text.
- Overrides:
 getDescriptionPacket in class TileEntity
 
 
 
isEditable
public boolean isEditable()
 
setEditable
public void setEditable(boolean par1)