Skip to main content

In Tag (Entity Condition Type)

Checks whether the entity's type is in an entity type tag.

Type ID: apoli:in_tag

Fields

FieldTypeDefaultDescription
tagIdentifierrequiredThe ID of the entity type tag. The leading # is optional.

Examples

"condition": {
    "type": "apoli:in_tag",
    "tag": "minecraft:skeletons"
}

This checks whether the entity is in the #minecraft:skeletons entity type tag (data/minecraft/tags/entity_types/skeletons.json).