In Tag (Entity Condition Type)

Checks whether the entity's entity type is in a specific tag.

Checks whether the entity’s entity type is in a specific tag.

Type ID: apoli:in_tag

Fields

FieldTypeDefaultDescription
tagIdentifierThe namespace and ID of the entity type tag the entity type needs to be in to pass the check.

Examples

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

This example will check if the entity is inside the #minecraft:skeletons entity type tag. (data/minecraft/tags/entity_types/skeletons.json)