Class TileEntitySign

java.lang.Object
net.minecraft.src.TileEntity
net.minecraft.src.TileEntitySign

public class TileEntitySign extends TileEntity
  • Field Details

    • 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.
  • Constructor Details

    • TileEntitySign

      public TileEntitySign()
  • Method Details

    • 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)
      Sets the sign's isEditable flag to the specified parameter.
    • func_142010_a

      public void func_142010_a(EntityPlayer par1EntityPlayer)
    • func_142009_b

      public EntityPlayer func_142009_b()