程序包 org.bukkit.persistence
package org.bukkit.persistence
用于向各种对象附加持久化数据的类.
-
类说明The list persistent data represents a data type that is capable of storing a list of other data types in a
PersistentDataContainer
.A provider for list persistent data types that represent the known primitive types exposed byPersistentDataType
.This interface represents the context in which thePersistentDataType
can serialize and deserialize the passed values.This interface represents a map like object, capable of storing custom tags in it.ThePersistentDataHolder
interface defines an object that can store custom persistent meta data on it.PersistentDataType<P,C> This class represents an enum with a generic content type.A convenience implementation to convert between Byte and Boolean as there is no native implementation for booleans.A default implementation that simply exists to pass on the retrieved or inserted value to the next layer.