Package com.kamikazejam.kamicommon.item
Enum Class NbtType
- All Implemented Interfaces:
Serializable
,Comparable<NbtType>
,Constable
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
static interface
static interface
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic byte[]
convertByteList
(List<Byte> list) static int[]
convertIntList
(List<Integer> list) static @NotNull NbtType
static @Nullable NbtType
matchNBTAPI
(de.tr7zw.changeme.nbtapi.NBTType type) @NotNull Object
@NotNull Object
readConf
(ConfigurationSection section, String key) static NbtType
Returns the enum constant of this class with the specified name.static NbtType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.void
-
Enum Constant Details
-
STRING
-
BOOLEAN
-
BYTE
-
SHORT
-
INTEGER
-
LONG
-
FLOAT
-
DOUBLE
-
BYTE_ARRAY
-
INT_ARRAY
-
UUID
-
-
Field Details
-
CACHE
-
-
Method Details
-
values
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
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
-
write
-
read
-
fromName
-
convertByteList
-
convertIntList
-
matchNBTAPI
-