Class ByteTag

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

public final class ByteTag extends Tag
The TAG_Byte tag.
  • Constructor Details

    • ByteTag

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

    • getValue

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