Package wtf.choco.arrows.persistence
Class PersistentDataTypeNamespacedKey
java.lang.Object
wtf.choco.arrows.persistence.PersistentDataTypeNamespacedKey
- All Implemented Interfaces:
 org.bukkit.persistence.PersistentDataType<String,org.bukkit.NamespacedKey>
public final class PersistentDataTypeNamespacedKey extends Object implements org.bukkit.persistence.PersistentDataType<String,org.bukkit.NamespacedKey>
A 
PersistentDataType implementation for NamespacedKeys.- Author:
 - Parker Hawke - Choco
 
- 
Nested Class Summary
Nested classes/interfaces inherited from interface org.bukkit.persistence.PersistentDataType
org.bukkit.persistence.PersistentDataType.PrimitivePersistentDataType<T extends Object> - 
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 Type Method Description @NotNull org.bukkit.NamespacedKeyfromPrimitive(@NotNull String string, @NotNull org.bukkit.persistence.PersistentDataAdapterContext context)@NotNull Class<org.bukkit.NamespacedKey>getComplexType()@NotNull Class<String>getPrimitiveType()@NotNull StringtoPrimitive(@NotNull org.bukkit.NamespacedKey key, @NotNull org.bukkit.persistence.PersistentDataAdapterContext context) 
- 
Method Details
- 
fromPrimitive
@NotNull public @NotNull org.bukkit.NamespacedKey fromPrimitive(@NotNull @NotNull String string, @NotNull @NotNull org.bukkit.persistence.PersistentDataAdapterContext context)- Specified by:
 fromPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<String,org.bukkit.NamespacedKey>
 - 
toPrimitive
@NotNull public @NotNull String toPrimitive(@NotNull @NotNull org.bukkit.NamespacedKey key, @NotNull @NotNull org.bukkit.persistence.PersistentDataAdapterContext context)- Specified by:
 toPrimitivein interfaceorg.bukkit.persistence.PersistentDataType<String,org.bukkit.NamespacedKey>
 - 
getComplexType
- Specified by:
 getComplexTypein interfaceorg.bukkit.persistence.PersistentDataType<String,org.bukkit.NamespacedKey>
 - 
getPrimitiveType
- Specified by:
 getPrimitiveTypein interfaceorg.bukkit.persistence.PersistentDataType<String,org.bukkit.NamespacedKey>
 
 -