Package net.minecraft.src
Class TileEntitySkull
java.lang.Object
net.minecraft.src.TileEntity
net.minecraft.src.TileEntitySkull
-
Field Summary
Fields inherited from class net.minecraft.src.TileEntity
blockMetadata, blockType, tileEntityInvalid, worldObj, xCoord, yCoord, zCoord -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintOverriden in a sign to provide the text.Get the extra data foor this skull, used as player username by player headsintintGet the entity type for the skullvoidreadFromNBT(NBTTagCompound par1NBTTagCompound) Reads a tile entity from NBT.voidsetSkullRotation(int par1) Set the skull's rotationvoidsetSkullType(int par1, String par2Str) Set the entity type for the skullvoidwriteToNBT(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
-
Constructor Details
-
TileEntitySkull
public TileEntitySkull()
-
-
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
-
setSkullType
Set the entity type for the skull -
getSkullType
public int getSkullType()Get the entity type for the skull -
func_82119_b
public int func_82119_b() -
setSkullRotation
public void setSkullRotation(int par1) Set the skull's rotation -
getExtraType
Get the extra data foor this skull, used as player username by player heads -
getSkullRotationServerSafe
public int getSkullRotationServerSafe()
-