Class FloatTag

java.lang.Object
com.sk89q.jnbt.Tag
com.sk89q.jnbt.FloatTag

public final class FloatTag extends Tag
The TAG_Float tag.
  • Constructor Details

    • FloatTag

      public FloatTag(float value)
      Creates the tag with an empty name.
      Parameters:
      value - the value of the tag
  • Method Details

    • getValue

      public Float getValue()
      Description copied from class: Tag
      Gets the value of this tag.
      Specified by:
      getValue in class Tag
      Returns:
      the value
    • toString

      public String toString()
      Overrides:
      toString in class Object