Enum Class NbtType
- All Implemented Interfaces:
Serializable, Comparable<NbtType>, Constable
Deprecated.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.static interfaceDeprecated.static interfaceDeprecated.Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]convertByteList(List<Byte> list) Deprecated.static int[]convertIntList(List<Integer> list) Deprecated.static @NotNull NbtTypeDeprecated.static @Nullable NbtTypematchNBTAPI(de.tr7zw.changeme.nbtapi.NBTType type) Deprecated.@NotNull ObjectDeprecated.@NotNull ObjectreadConf(ConfigurationSection section, String key) Deprecated.static NbtTypeDeprecated.Returns the enum constant of this class with the specified name.static NbtType[]values()Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.voidDeprecated.
-
Enum Constant Details
-
STRING
Deprecated. -
BOOLEAN
Deprecated. -
BYTE
Deprecated. -
SHORT
Deprecated. -
INTEGER
Deprecated. -
LONG
Deprecated. -
FLOAT
Deprecated. -
DOUBLE
Deprecated. -
BYTE_ARRAY
Deprecated. -
INT_ARRAY
Deprecated. -
UUID
Deprecated.
-
-
Field Details
-
CACHE
Deprecated.
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Deprecated.Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
readConf
Deprecated. -
write
-
read
-
fromName
-
convertByteList
-
convertIntList
-
matchNBTAPI
Deprecated.
-
ItemBuilderLoaderno longer reads annbtblock and nothing writes NBT from config, so the config-reading half of this enum has no caller. It remains only forCmdItemDump, which usesmatchNBTAPI(NBTType)to name the type of NBT already present on an item.