Both (Bi-Entity Condition Type)

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

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

Type ID: apoli:both

Fields

FieldTypeDefaultDescription
conditionEntity Condition TypeThe entity condition type to check on both the actor and target entity.

Examples

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

This example will check if both the actor entity and the target entity is a player.