Entity Group
Checks whether the entity is of a specific entity group.
Type ID: origins:entity_group
Note
See Minecraft Wiki: Mob (Classification) for more information about entity groups.
Danger
This entity condition type has been removed in Origins 1.13.0 due to the removal of entity groups in Minecraft 1.21. Please use In Tag (Entity Condition Type) instead.
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. |
Examples
"condition": {
"type": "origins:entity_group",
"group": "undead"
}
This example will check if the entity is included in the undead entity group.