Class NBTConstants

java.lang.Object
com.sk89q.jnbt.NBTConstants

@Deprecated(forRemoval=true) public final class NBTConstants extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
JNBT is being removed for adventure-nbt in WorldEdit 8.
A class which holds constant values.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Charset
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static final int
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Class<? extends Tag>
    Deprecated, for removal: This API element is subject to removal in a future version.
    Convert a type ID to its corresponding Tag class.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • CHARSET

      public static final Charset CHARSET
      Deprecated, for removal: This API element is subject to removal in a future version.
    • TYPE_END

      public static final int TYPE_END
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_BYTE

      public static final int TYPE_BYTE
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_SHORT

      public static final int TYPE_SHORT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_INT

      public static final int TYPE_INT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_LONG

      public static final int TYPE_LONG
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_FLOAT

      public static final int TYPE_FLOAT
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_DOUBLE

      public static final int TYPE_DOUBLE
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_BYTE_ARRAY

      public static final int TYPE_BYTE_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_STRING

      public static final int TYPE_STRING
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_LIST

      public static final int TYPE_LIST
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_COMPOUND

      public static final int TYPE_COMPOUND
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_INT_ARRAY

      public static final int TYPE_INT_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
    • TYPE_LONG_ARRAY

      public static final int TYPE_LONG_ARRAY
      Deprecated, for removal: This API element is subject to removal in a future version.
      See Also:
  • Method Details

    • getClassFromType

      public static Class<? extends Tag> getClassFromType(int id)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Convert a type ID to its corresponding Tag class.
      Parameters:
      id - type ID
      Returns:
      tag class
      Throws:
      IllegalArgumentException - thrown if the tag ID is not valid