Entity Type (Entity Condition Type)
Checks whether the entity is of a specific entity type.
Checks whether the entity is of a specific entity type.
Type ID: apoli:entity_type
Fields
| Field | Type | Default | Description |
|---|---|---|---|
entity_type | Identifier | The entity type the entity needs to have. Prefix with # to match an entity type tag instead — "#minecraft:skeletons". |
Examples
"condition": {
"type": "apoli:entity_type",
"entity_type": "minecraft:creeper"
} This example will check if the entity is a Creeper.
"condition": {
"type": "apoli:entity_type",
"entity_type": "#minecraft:skeletons"
} This example passes for any entity in the minecraft:skeletons tag.