接口的使用
org.bukkit.persistence.PersistentDataContainer
使用PersistentDataContainer的程序包
-
org.bukkit.block中PersistentDataContainer的使用
-
org.bukkit.persistence中PersistentDataContainer的使用
类型参数类型为PersistentDataContainer的org.bukkit.persistence中的字段修饰符和类型字段说明static final PersistentDataType<PersistentDataContainer,PersistentDataContainer> PersistentDataType.TAG_CONTAINERstatic final PersistentDataType<PersistentDataContainer,PersistentDataContainer> PersistentDataType.TAG_CONTAINER修饰符和类型方法说明PersistentDataHolder.getPersistentDataContainer()Returns a custom tag container capable of storing tags on the object.PersistentDataAdapterContext.newPersistentDataContainer()Creates a new and empty meta container instance.返回变量类型为PersistentDataContainer的类型的org.bukkit.persistence中的方法修饰符和类型方法说明ListPersistentDataTypeProvider.dataContainers()Provides a sharedListPersistentDataTypethat is capable of persistent data containers..ListPersistentDataTypeProvider.dataContainers()Provides a sharedListPersistentDataTypethat is capable of persistent data containers..修饰符和类型方法说明voidPersistentDataContainer.copyTo(@NotNull PersistentDataContainer other, boolean replace) Copies all values from thisPersistentDataContainerto the provided container.