base64GetContainerValue

fun <Z> base64GetContainerValue(item: ItemStack, key: NamespacedKey, clazz: Class<Z?>): Z?

Reads a Base64-serialized object of type clazz from the item's string value at key, or null.


fun <Z> base64GetContainerValue(holder: PersistentDataHolder, key: NamespacedKey, clazz: Class<Z?>): Z?

Reads a Base64-serialized object of type clazz from the holder's string value at key, or null.