Package | Description |
---|---|
org.bukkit.persistence |
Classes that allow attaching persistent data to various objects.
|
Modifier and Type | Method and Description |
---|---|
@NotNull PersistentDataAdapterContext |
PersistentDataContainer.getAdapterContext()
Returns the adapter context this tag container uses.
|
Modifier and Type | Method and Description |
---|---|
Z |
PersistentDataType.fromPrimitive(T primitive,
@NotNull PersistentDataAdapterContext context)
Creates a complex object based of the passed primitive value
|
T |
PersistentDataType.PrimitivePersistentDataType.fromPrimitive(T primitive,
@NotNull PersistentDataAdapterContext context) |
T |
PersistentDataType.PrimitivePersistentDataType.toPrimitive(T complex,
@NotNull PersistentDataAdapterContext context) |
T |
PersistentDataType.toPrimitive(Z complex,
@NotNull PersistentDataAdapterContext context)
Returns the primitive data that resembles the complex object passed to
this method.
|
Copyright © 2021. All rights reserved.