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 |
---|---|
EntityPlayer |
func_142009_b() |
void |
func_142010_a(EntityPlayer par1EntityPlayer) |
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_85027_a, getBlockMetadata, getBlockType, getDistanceFrom, getMaxRenderDistanceSquared, getRenderBoundingBox, getWorldObj, hasWorldObj, invalidate, isInvalid, onChunkUnload, onDataPacket, onInventoryChanged, receiveClientEvent, setWorldObj, shouldRefresh, shouldRenderInPass, updateContainingBlockInfo, updateEntity, validate
public String[] signText
public int lineBeingEdited
public void writeToNBT(NBTTagCompound par1NBTTagCompound)
writeToNBT
in class TileEntity
public void readFromNBT(NBTTagCompound par1NBTTagCompound)
readFromNBT
in class TileEntity
public Packet getDescriptionPacket()
getDescriptionPacket
in class TileEntity
public boolean isEditable()
public void setEditable(boolean par1)
public void func_142010_a(EntityPlayer par1EntityPlayer)
public EntityPlayer func_142009_b()