Class Tag_Int_Array

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

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

    • Tag_Int_Array

      public Tag_Int_Array()
      Create an empty int array tag.
    • Tag_Int_Array

      public Tag_Int_Array(String name)
      Create an int array tag with name and data set to null.
      Parameters:
      name - Name of the tag.
    • Tag_Int_Array

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