Class DoubleTag

java.lang.Object
net.citizensnpcs.api.jnbt.Tag
net.citizensnpcs.api.jnbt.DoubleTag

public final class DoubleTag extends Tag
The TAG_Double tag.
  • Constructor Details

    • DoubleTag

      public DoubleTag(String name, double value)
      Creates the tag.
      Parameters:
      name - The name.
      value - The value.
  • Method Details

    • getValue

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

      public String toString()
      Overrides:
      toString in class Object