接口的使用
org.bukkit.persistence.PersistentDataAdapterContext
-
org.bukkit.persistence中PersistentDataAdapterContext的使用
修饰符和类型方法说明PersistentDataContainer.getAdapterContext()
Returns the adapter context this tag container uses.修饰符和类型方法说明PersistentDataType.BooleanPersistentDataType.fromPrimitive
(@NotNull Byte primitive, @NotNull PersistentDataAdapterContext context) PersistentDataType.fromPrimitive
(P primitive, @NotNull PersistentDataAdapterContext context) Creates a complex object based of the passed primitive valuePersistentDataType.PrimitivePersistentDataType.fromPrimitive
(P primitive, @NotNull PersistentDataAdapterContext context) PersistentDataType.BooleanPersistentDataType.toPrimitive
(@NotNull Boolean complex, @NotNull PersistentDataAdapterContext context) PersistentDataType.PrimitivePersistentDataType.toPrimitive
(P complex, @NotNull PersistentDataAdapterContext context) PersistentDataType.toPrimitive
(C complex, @NotNull PersistentDataAdapterContext context) Returns the primitive data that resembles the complex object passed to this method.