NBT

Item Condition

Checks the item's NBT.

Type ID: apoli::nbt

Fields

Field Type Default Description
nbt String The NBT data to check for.

Example

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

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