Class TileEntityEnchantmentTable

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

public class TileEntityEnchantmentTable extends TileEntity
  • Field Details

    • tickCount

      public int tickCount
      Used by the render to make the book 'bounce'
    • pageFlip

      public float pageFlip
      Value used for determining how the page flip should look.
    • pageFlipPrev

      public float pageFlipPrev
      The last tick's pageFlip value.
    • field_70373_d

      public float field_70373_d
    • field_70374_e

      public float field_70374_e
    • bookSpread

      public float bookSpread
      The amount that the book is open.
    • bookSpreadPrev

      public float bookSpreadPrev
      The amount that the book is open.
    • bookRotation2

      public float bookRotation2
    • bookRotationPrev

      public float bookRotationPrev
    • bookRotation

      public float bookRotation
    • playerNear

      public boolean playerNear
  • Constructor Details

    • TileEntityEnchantmentTable

      public TileEntityEnchantmentTable()
  • 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
    • updateEntity

      public void updateEntity()
      Allows the entity to update its state. Overridden in most subclasses, e.g. the mob spawner uses this to count ticks and creates a new spawn inside its implementation.
      Overrides:
      updateEntity in class TileEntity
    • func_94133_a

      public String func_94133_a()
    • func_94135_b

      public boolean func_94135_b()
    • func_94134_a

      public void func_94134_a(String par1Str)