Uses of Interface
org.bukkit.persistence.PersistentDataType
Packages that use PersistentDataType
Package
Description
Classes that allow attaching persistent data to various objects.
-
Uses of PersistentDataType in org.bukkit.persistence
Classes in org.bukkit.persistence that implement PersistentDataTypeModifier and TypeClassDescriptionstatic classA default implementation that simply exists to pass on the retrieved or inserted value to the next layer.Fields in org.bukkit.persistence declared as PersistentDataTypeModifier and TypeFieldDescriptionstatic PersistentDataType<Byte,Byte>PersistentDataType.BYTEstatic PersistentDataType<byte[],byte[]>PersistentDataType.BYTE_ARRAYstatic PersistentDataType<Double,Double>PersistentDataType.DOUBLEstatic PersistentDataType<Float,Float>PersistentDataType.FLOATstatic PersistentDataType<Integer,Integer>PersistentDataType.INTEGERstatic PersistentDataType<int[],int[]>PersistentDataType.INTEGER_ARRAYstatic PersistentDataType<Long,Long>PersistentDataType.LONGstatic PersistentDataType<long[],long[]>PersistentDataType.LONG_ARRAYstatic PersistentDataType<Short,Short>PersistentDataType.SHORTstatic PersistentDataType<String,String>PersistentDataType.STRINGPersistentDataType.TAG_CONTAINERPersistentDataType.TAG_CONTAINER_ARRAYMethods in org.bukkit.persistence with parameters of type PersistentDataTypeModifier and TypeMethodDescription<T, Z> ZPersistentDataContainer.get(NamespacedKey key, PersistentDataType<T,Z> type)Returns the metadata value that is stored on thePersistentDataHolderinstance.<T, Z> ZPersistentDataContainer.getOrDefault(NamespacedKey key, PersistentDataType<T,Z> type, Z defaultValue)Returns the metadata value that is stored on thePersistentDataHolderinstance.<T, Z> booleanPersistentDataContainer.has(NamespacedKey key, PersistentDataType<T,Z> type)Returns if the persistent metadata provider has metadata registered matching the provided parameters.<T, Z> voidPersistentDataContainer.set(NamespacedKey key, PersistentDataType<T,Z> type, Z value)Stores a metadata value on thePersistentDataHolderinstance.