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.
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.