Skip to main content

Merge NBT (Item Action Type)

Merges NBT into the item's NBT.

Type ID: apoli:merge_nbt

Fields

FieldTypeDefaultDescription
nbtNBTrequiredThe NBT to merge into the item's NBT.

Examples

"item_action": {
    "type": "apoli:merge_nbt",
    "nbt": "{custom_stuff: 1b}"
}

This merges {custom_stuff: 1b} into the item's NBT.