Entity Group (Entity Condition Type)

Checks whether the entity is of a specific entity group.

Checks whether the entity is of a specific entity group.

Type ID: apoli:entity_group

!!! note

See Minecraft Wiki: Mob (Classification) for more information about entity groups.

Fields

FieldTypeDefaultDescription
groupStringEntity group required for the entity to pass the check. One of default, undead, arthropod, illager and aquatic.

Examples

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

This example will check if the entity is included in the undead entity group.