NBT

Entity Condition Type

Checks the entity's NBT.

Type ID: origins:nbt

Caution

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

Fields

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

Examples

"condition": {
    "type": "origins: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.