Class ByteArrayTag

java.lang.Object
com.sk89q.jnbt.Tag
com.sk89q.jnbt.ByteArrayTag
All Implemented Interfaces:
com.sk89q.worldedit.util.nbt.BinaryTagLike

@Deprecated public final class ByteArrayTag extends Tag
Deprecated.
Use ByteArrayBinaryTag.
The TAG_Byte_Array tag.
  • Constructor Summary

    Constructors
    Constructor
    Description
    ByteArrayTag(byte[] value)
    Deprecated.
    Creates the tag with an empty name.
    ByteArrayTag(com.sk89q.worldedit.util.nbt.ByteArrayBinaryTag adventureTag)
    Deprecated.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    com.sk89q.worldedit.util.nbt.ByteArrayBinaryTag
    Deprecated.
     
    int
    Deprecated.
     
    byte[]
    Deprecated.
    Gets the value of this tag.

    Methods inherited from class com.sk89q.jnbt.Tag

    toRaw, toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • ByteArrayTag

      public ByteArrayTag(byte[] value)
      Deprecated.
      Creates the tag with an empty name.
      Parameters:
      value - the value of the tag
    • ByteArrayTag

      public ByteArrayTag(com.sk89q.worldedit.util.nbt.ByteArrayBinaryTag adventureTag)
      Deprecated.
  • Method Details

    • getValue

      public byte[] getValue()
      Deprecated.
      Description copied from class: Tag
      Gets the value of this tag.
      Specified by:
      getValue in class Tag
      Returns:
      the value
    • asBinaryTag

      public com.sk89q.worldedit.util.nbt.ByteArrayBinaryTag asBinaryTag()
      Deprecated.
    • getTypeCode

      public int getTypeCode()
      Deprecated.
      Specified by:
      getTypeCode in class Tag