Class NBTTagInt

java.lang.Object
net.minecraft.src.NBTBase
net.minecraft.src.NBTTagInt

public class NBTTagInt extends NBTBase
  • Field Details

    • data

      public int data
      The integer value for the tag.
  • Constructor Details

    • NBTTagInt

      public NBTTagInt(String par1Str)
    • NBTTagInt

      public NBTTagInt(String par1Str, int par2)
  • Method Details

    • getId

      public byte getId()
      Gets the type byte for the tag.
      Specified by:
      getId in class NBTBase
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • copy

      public NBTBase copy()
      Creates a clone of the tag.
      Specified by:
      copy in class NBTBase
    • equals

      public boolean equals(Object par1Obj)
      Overrides:
      equals in class NBTBase
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class NBTBase