Class NBTTagFloat

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

public class NBTTagFloat extends NBTBase
  • Field Details

    • data

      public float data
      The float value for the tag.
  • Constructor Details

    • NBTTagFloat

      public NBTTagFloat(String par1Str)
    • NBTTagFloat

      public NBTTagFloat(String par1Str, float 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