Uses of Class
net.tnemc.item.persistent.PersistentDataType
Packages that use PersistentDataType
Package
Description
-
Uses of PersistentDataType in net.tnemc.item
Methods in net.tnemc.item with parameters of type PersistentDataTypeModifier and TypeMethodDescriptiondefault AbstractItemStack
<T> AbstractItemStack.applyPersistent
(PersistentDataType<?> data) Applies persistent data to the item stack. -
Uses of PersistentDataType in net.tnemc.item.persistent
Methods in net.tnemc.item.persistent that return types with arguments of type PersistentDataTypeModifier and TypeMethodDescriptionPersistentDataHolder.decode
(JSONHelper json, ItemPlatform<?, ?, ?> platform) Decodes the provided JSON object and returns an Optional containing the decoded PersistentDataType.PersistentDataHolder.getData()
-
Uses of PersistentDataType in net.tnemc.item.persistent.impl
Subclasses of PersistentDataType in net.tnemc.item.persistent.implModifier and TypeClassDescriptionclass
PersistentBoolclass
PersistentByteclass
PersistentByteArrayclass
PersistentDoubleclass
PersistentFloatclass
PersistentIntclass
PersistentIntArrayclass
PersistentLongclass
PersistentLongArrayclass
PersistentShortclass
PersistentString -
Uses of PersistentDataType in net.tnemc.item.platform
Methods in net.tnemc.item.platform that return types with arguments of type PersistentDataTypeModifier and TypeMethodDescriptionMap
<String, Class<? extends PersistentDataType<?>>> ItemPlatform.getClasses()
Method parameters in net.tnemc.item.platform with type arguments of type PersistentDataTypeModifier and TypeMethodDescriptionvoid
ItemPlatform.addPersistentDataType
(String identifier, @NotNull Class<? extends PersistentDataType<?>> type) Adds a persistent data type to the item platform.