Class ByteArrayTag

java.lang.Object
net.glowstone.util.nbt.Tag<byte[]>
net.glowstone.util.nbt.ByteArrayTag

public final class ByteArrayTag extends Tag<byte[]>
The TAG_Byte_Array tag.
  • Constructor Details

    • ByteArrayTag

      public ByteArrayTag(byte... value)
      Creates the tag.
      Parameters:
      value - The value.
  • Method Details

    • valueToString

      protected void valueToString(StringBuilder hex)
      Overrides:
      valueToString in class Tag<byte[]>
    • getValue

      public byte[] getValue()
      The value.
      Specified by:
      getValue in class Tag<byte[]>
      Returns:
      The value of this tag.