NBT

Entity Condition

Checks the entity's NBT.

Type ID: apoli:nbt

Caution

This condition is only effective server-side. That means client-side power types such as apoli:climbing, apoli:entity_glow, apoli:shader, etc. won't work with this.

Fields

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

Example

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

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