Package studio.magemonkey.codex.util
Class DataUT.UUIDDataType
java.lang.Object
studio.magemonkey.codex.util.DataUT.UUIDDataType
- All Implemented Interfaces:
org.bukkit.persistence.PersistentDataType<byte[],UUID>
- Enclosing class:
DataUT
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.persistence.PersistentDataType
org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType<T> -
Field Summary
Fields inherited from interface org.bukkit.persistence.PersistentDataType
BYTE, BYTE_ARRAY, DOUBLE, FLOAT, INTEGER, INTEGER_ARRAY, LONG, LONG_ARRAY, SHORT, STRING, TAG_CONTAINER, TAG_CONTAINER_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionfromPrimitive(byte[] primitive, org.bukkit.persistence.PersistentDataAdapterContext context) Class<byte[]> byte[]toPrimitive(UUID complex, org.bukkit.persistence.PersistentDataAdapterContext context)
-
Method Details
-
getPrimitiveType
- Specified by:
getPrimitiveTypein interfaceorg.bukkit.persistence.PersistentDataType<byte[],UUID>
-
getComplexType
- Specified by:
getComplexTypein interfaceorg.bukkit.persistence.PersistentDataType<byte[],UUID>
-
toPrimitive
public byte[] toPrimitive(UUID complex, org.bukkit.persistence.PersistentDataAdapterContext context) - Specified by:
toPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],UUID>
-
fromPrimitive
@NotNull public UUID fromPrimitive(byte[] primitive, org.bukkit.persistence.PersistentDataAdapterContext context) - Specified by:
fromPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],UUID>
-