Both

Bi-entity Condition Type

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

Type ID: origins:both

Fields

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

Examples

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

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