-
Create a new key pair with null default value
KeyManager.createKeyPair(String key,
org.bukkit.persistence.PersistentDataType<?,Z> dataType,
Z defaultValue)
static void
PluginKeyUtils.copy(org.bukkit.persistence.PersistentDataContainer fromContainer,
org.bukkit.persistence.PersistentDataContainer toContainer,
PluginKeyPair<?>... keyPairs)
Copy the
PluginKeyPair
from the source container to the target container
static void
PluginKeyUtils.copy(org.bukkit.persistence.PersistentDataHolder fromHolder,
org.bukkit.persistence.PersistentDataHolder toHolder,
PluginKeyPair<?>... keyPairs)
Copy the
PluginKeyPair
from the source holder to the target holder
static void
PluginKeyUtils.remove(org.bukkit.persistence.PersistentDataContainer container,
PluginKeyPair<?>... keyPairs)
static void
PluginKeyUtils.remove(org.bukkit.persistence.PersistentDataHolder holder,
PluginKeyPair<?>... keyPairs)