Class StringPersistentType
java.lang.Object
me.deecaad.core.compatibility.nbt.StringPersistentType
- All Implemented Interfaces:
org.bukkit.persistence.PersistentDataType<byte[],String[]>
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.persistence.PersistentDataType
org.bukkit.persistence.PersistentDataType.BooleanPersistentDataType, org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType<P> -
Field Summary
FieldsFields inherited from interface org.bukkit.persistence.PersistentDataType
BOOLEAN, BYTE, BYTE_ARRAY, DOUBLE, FLOAT, INTEGER, INTEGER_ARRAY, LIST, LONG, LONG_ARRAY, SHORT, STRING, TAG_CONTAINER, TAG_CONTAINER_ARRAY -
Method Summary
Modifier and TypeMethodDescriptionString @NotNull []fromPrimitive(byte @NotNull [] primitive, @NotNull org.bukkit.persistence.PersistentDataAdapterContext context) @NotNull Class<byte[]> byte @NotNull []toPrimitive(String[] complex, @NotNull org.bukkit.persistence.PersistentDataAdapterContext context)
-
Field Details
-
INSTANCE
-
-
Method Details
-
getPrimitiveType
- Specified by:
getPrimitiveTypein interfaceorg.bukkit.persistence.PersistentDataType<byte[],String[]>
-
getComplexType
- Specified by:
getComplexTypein interfaceorg.bukkit.persistence.PersistentDataType<byte[],String[]>
-
toPrimitive
public byte @NotNull [] toPrimitive(String[] complex, @NotNull @NotNull org.bukkit.persistence.PersistentDataAdapterContext context) - Specified by:
toPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],String[]>
-
fromPrimitive
public String @NotNull [] fromPrimitive(byte @NotNull [] primitive, @NotNull @NotNull org.bukkit.persistence.PersistentDataAdapterContext context) - Specified by:
fromPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<byte[],String[]>
-