In Tag

Entity Condition.

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

Type ID: origins:in_tag

Fields:

Field Type Default Description
tag Identifier ID of the tag the entity type needs to be in to pass the check.

Example:

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

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