Item Stack Array Persistent Data Type
class ItemStackArrayPersistentDataType : PersistentDataType<Array<PersistentDataContainer>, Array<ItemStack?>>
This class represents a PersistentDataType, that is used to save an indexed array of ItemStacks to be saved to a PersistentDataContainer. Useful for storing data about an inventory.
Functions
Link copied to clipboard
open override fun fromPrimitive(primitive: Array<PersistentDataContainer>, context: PersistentDataAdapterContext): Array<ItemStack?>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun toPrimitive(complex: Array<ItemStack?>, context: PersistentDataAdapterContext): Array<PersistentDataContainer>