Package com.sk89q.jnbt
Class NBTConstants
java.lang.Object
com.sk89q.jnbt.NBTConstants
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
Modifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptiongetClassFromType
(int id) Deprecated, for removal: This API element is subject to removal in a future version.Convert a type ID to its correspondingTag
class.
-
Field Details
-
CHARSET
Deprecated, for removal: This API element is subject to removal in a future version. -
TYPE_END
public static final int TYPE_ENDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_BYTE
public static final int TYPE_BYTEDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_SHORT
public static final int TYPE_SHORTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_INT
public static final int TYPE_INTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_LONG
public static final int TYPE_LONGDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_FLOAT
public static final int TYPE_FLOATDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_DOUBLE
public static final int TYPE_DOUBLEDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_BYTE_ARRAY
public static final int TYPE_BYTE_ARRAYDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_STRING
public static final int TYPE_STRINGDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_LIST
public static final int TYPE_LISTDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_COMPOUND
public static final int TYPE_COMPOUNDDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_INT_ARRAY
public static final int TYPE_INT_ARRAYDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
TYPE_LONG_ARRAY
public static final int TYPE_LONG_ARRAYDeprecated, for removal: This API element is subject to removal in a future version.- See Also:
-
-
Method Details
-
getClassFromType
Deprecated, for removal: This API element is subject to removal in a future version.Convert a type ID to its correspondingTag
class.- Parameters:
id
- type ID- Returns:
- tag class
- Throws:
IllegalArgumentException
- thrown if the tag ID is not valid
-