Class TileEntitySkull

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

public class TileEntitySkull extends TileEntity
  • Constructor Details

    • TileEntitySkull

      public TileEntitySkull()
  • 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
    • setSkullType

      public void setSkullType(int par1, String par2Str)
      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

      public String getExtraType()
      Get the extra data foor this skull, used as player username by player heads
    • getSkullRotationServerSafe

      public int getSkullRotationServerSafe()