Skip to main content

Entity Group (Entity Condition Type)

Checks whether the entity belongs to an entity group, such as undead or arthropod.

Type ID: apoli:entity_group

[Minecraft Wiki: Mob (Classification)](

https://minecraft.wiki/w/Mob#Classification) explains the entity groups.

Fields

FieldTypeDefaultDescription
groupStringrequiredThe group the entity must be in: default, undead, arthropod, illager or aquatic.

Examples

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

This checks whether the entity is in the undead group.