Uses of Interface
org.bukkit.persistence.PersistentDataAdapterContext
Package
Description
Classes that allow attaching persistent data to various objects.
-
Uses of PersistentDataAdapterContext in org.bukkit.persistence
Modifier and TypeMethodDescriptionPersistentDataContainer.getAdapterContext()
Returns the adapter context this tag container uses.Modifier and TypeMethodDescriptionPersistentDataType.fromPrimitive
(T primitive, @NotNull PersistentDataAdapterContext context) Creates a complex object based of the passed primitive valuePersistentDataType.PrimitivePersistentDataType.fromPrimitive
(T primitive, @NotNull PersistentDataAdapterContext context) PersistentDataType.PrimitivePersistentDataType.toPrimitive
(T complex, @NotNull PersistentDataAdapterContext context) PersistentDataType.toPrimitive
(Z complex, @NotNull PersistentDataAdapterContext context) Returns the primitive data that resembles the complex object passed to this method.