Class IntTag

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

public final class IntTag extends Tag
The TAG_Int tag.
  • Constructor Details

    • IntTag

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

    • getValue

      public Integer 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