NBT (Item Condition Type)

Checks the item's NBT.

Checks the item’s NBT.

Type ID: apoli:nbt

Fields

FieldTypeDefaultDescription
nbtNBTThe NBT data to check for.

Examples

"item_condition": {
    "type": "apoli:nbt",
    "nbt": "{exampleCustomTag: 1b}"
}

This example will check if the item stack has the exampleCustomTag: 1b NBT.

apoli:custom_data is this condition. The original Apoli called it that because it reads the item’s minecraft:custom_data component; both ids do the same thing here.