public class TileEntitySkull extends TileEntity
blockMetadata, blockType, INFINITE_EXTENT_AABB, worldObj, xCoord, yCoord, zCoord
Constructor and Description |
---|
TileEntitySkull() |
Modifier and Type | Method and Description |
---|---|
int |
func_82119_b() |
Packet |
getDescriptionPacket()
Overriden in a sign to provide the text.
|
String |
getExtraType()
Get the extra data foor this skull, used as player username by player heads
|
int |
getSkullType()
Get the entity type for the skull
|
void |
readFromNBT(NBTTagCompound par1NBTTagCompound)
Reads a tile entity from NBT.
|
void |
setSkullRotation(int par1)
Set the skull's rotation
|
void |
setSkullType(int par1,
String par2Str)
Set the entity type for the skull
|
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 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 void setSkullType(int par1, String par2Str)
public int getSkullType()
public void setSkullRotation(int par1)
public int func_82119_b()
public String getExtraType()