Origins: Powerful Powers
» Entity conditions » Has power tag

Has power tag

origins-powerful-powers:has_power_tagentity conditionalso a bi-entity condition

True when the entity holds a power in a power tag: a group of powers listed in a datapack file. Full details, the file format and the /opp powertag command are on page 16.

FieldTypeDefaultDescription
tagStringrequiredThe tag name, as written in the file.
include_inactiveBooleanfalseCount powers whose own condition is false too.

A tag name without a namespace gets the namespace of the power the condition is written in.

json
{
  "type": "origins-powerful-powers:has_power_tag",
  "tag": "mypack:magic"
}

No attribute.