Package net.minecraft.src
Class TileEntitySign
java.lang.Object
net.minecraft.src.TileEntity
net.minecraft.src.TileEntitySign
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe index of the line currently being edited.String[]An array of four strings storing the lines of text on the sign.Fields inherited from class net.minecraft.src.TileEntity
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidfunc_142010_a(EntityPlayer par1EntityPlayer) Overriden in a sign to provide the text.booleanvoidreadFromNBT(NBTTagCompound par1NBTTagCompound) Reads a tile entity from NBT.voidsetEditable(boolean par1) Sets the sign's isEditable flag to the specified parameter.voidwriteToNBT(NBTTagCompound par1NBTTagCompound) Writes a tile entity to NBT.Methods inherited from class net.minecraft.src.TileEntity
addMapping, createAndLoadEntity, func_85027_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getWorldObj, hasWorldObj, invalidate, isInvalid, onInventoryChanged, receiveClientEvent, setWorldObj, updateContainingBlockInfo, updateEntity, validate
-
Field Details
-
signText
An array of four strings storing the lines of text on the sign. -
lineBeingEdited
public int lineBeingEditedThe 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
Writes a tile entity to NBT.- Overrides:
writeToNBTin classTileEntity
-
readFromNBT
Reads a tile entity from NBT.- Overrides:
readFromNBTin classTileEntity
-
getDescriptionPacket
Overriden in a sign to provide the text.- Overrides:
getDescriptionPacketin classTileEntity
-
isEditable
public boolean isEditable() -
setEditable
public void setEditable(boolean par1) Sets the sign's isEditable flag to the specified parameter. -
func_142010_a
-
func_142009_b
-