Entity Group

Entity Condition.

Checks whether the entity is of a specific entity group.

Type ID: origins:entity_group

Fields:

Field Type Default Description
group String Entity group required for the entity to pass the check. One of default, undead, arthropod, illager and aquatic.

Example

"condition": {
    "type": "origins:entity_group",
    "group": "undead"
}

This example checks if the entity is included in the undead entity group.