Class Tag_Byte_Array

java.lang.Object
de.pauleff.core.Tag<byte[]>
de.pauleff.core.Basic_Tag<byte[]>
de.pauleff.core.Tag_Byte_Array
All Implemented Interfaces:
ITag<byte[]>

public class Tag_Byte_Array extends Basic_Tag<byte[]>
Class representing a NBT byte array tag.
Author:
Paul Ferlitz
  • Constructor Details

    • Tag_Byte_Array

      public Tag_Byte_Array()
      Create an empty byte array tag.
    • Tag_Byte_Array

      public Tag_Byte_Array(String name)
      Create a byte array tag with name and data set to null.
      Parameters:
      name - Name of the tag.
    • Tag_Byte_Array

      public Tag_Byte_Array(String name, byte[] data)
      Create a byte array tag with name and data.
      Parameters:
      name - Name of the tag.
      data - The initial data of the tag.
  • Method Details

    • toString

      public String toString()
      Description copied from class: Tag
      Generates a human-readable representation showing tag type, name, and data.
      Specified by:
      toString in interface ITag<byte[]>
      Overrides:
      toString in class Tag<byte[]>
      Returns:
      formatted string representation