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

FieldTypeDefaultDescription
entity_typeIdentifierThe namespace and ID of the entity type the entity needs to have to pass the check.

Examples

"condition": {
    "type": "apoli:entity_type",
    "entity_type": "minecraft:creeper"
}

This example will check if the entity is a Creeper.