Class Tag_Long_Array

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

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

    • Tag_Long_Array

      public Tag_Long_Array()
      Create an empty long array tag.
    • Tag_Long_Array

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

      public Tag_Long_Array(String name, long[] data)
      Create a long 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<long[]>
      Overrides:
      toString in class Tag<long[]>
      Returns:
      formatted string representation