NBT (Entity Condition Type)

Checks the entity's NBT.

Checks the entity’s NBT.

Type ID: apoli:nbt

Fields

FieldTypeDefaultDescription
nbtNBTThe NBT data to check for.

Examples

"condition": {
    "type": "apoli:nbt",
    "nbt": "{Tags: ['example_tag']}"
}

This example will check if the entity has the example_tag added via /tag or by modifying the entity’s Tags NBT string list.