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