Skip to main content

Both (Bi-Entity Condition Type)

Checks whether both the actor and the target pass an entity condition.

Type ID: apoli:both

Fields

FieldTypeDefaultDescription
conditionEntity Condition TyperequiredThe entity condition to check on the actor and on the target.

Examples

"bientity_condition": {
    "type": "apoli:both",
    "condition": {
        "type": "apoli:entity_type",
        "entity_type": "minecraft:player"
    }
}

This checks whether the actor and the target are both players.