Package 

Class NbtIntArray

  • All Implemented Interfaces:

    
    public final class NbtIntArray
    extends NbtTag
                        

    A tag which wraps a mutable int array.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      String getStringValue() Returns a string representation of the tag's value.
      final IntArray getValue()
      final Unit setValue(IntArray value)
      Boolean equals(Object other) Properly checks the equality of the array.
      Integer hashCode() Properly calculates the hashcode of the array.
      NbtIntArray deepCopy() Returns a new wrapper with a copy of the current value.
      • Methods inherited from class br.com.gamemods.nbtmanipulator.NbtIntArray

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NbtIntArray

        NbtIntArray()
        Creates a new tag with an empty array.
      • NbtIntArray

        NbtIntArray(String value)
        Parses the string using the same structure which is returned by stringValue.
        Parameters:
        value - A string with a structure like [0, -32, 48, 127]
      • NbtIntArray

        NbtIntArray(IntArray value)