Both

Meta Condition

Checks for an entity condition on both the actor and target entities.

Type ID: apoli:both

Note

Only available as a Bi-entity Condition

Fields

Field Type Default Description
condition Entity Condition The condition to check on both the actor and target entity.

Example

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

This example will only return true if both the actor entity and the target entity is a player.