base64SetContainerValue

fun <Z> base64SetContainerValue(item: ItemStack, key: NamespacedKey, value: Z?): ItemStack

Serializes value to Base64 and stores it as the item's string value at key. Returns the stack.


fun <Z> base64SetContainerValue(holder: PersistentDataHolder, key: NamespacedKey, value: Z?)

Serializes value to Base64 and stores it as the holder's string value at key.