Package 

Class NbtByteArray

  • All Implemented Interfaces:

    
    public final class NbtByteArray
    extends NbtTag
                        

    A tag which wraps a mutable byte 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 ByteArray getValue()
      final Unit setValue(ByteArray value)
      Boolean equals(Object other) Properly checks the equality of the array.
      Integer hashCode() Properly calculates the hashcode of the array.
      NbtByteArray deepCopy() Returns a new wrapper with a copy of the current value.
      • Methods inherited from class br.com.gamemods.nbtmanipulator.NbtByteArray

        toString
      • Methods inherited from class java.lang.Object

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

      • NbtByteArray

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

        NbtByteArray(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]