Riding

Entity Condition Type

Checks whether the actor entity is directly riding the target entity.

Type ID: origins:riding

Fields

Field Type Default Description
bientity_condition Bi-entity Condition Type optional If specified, it will only check for the entity/entities that fulfills the bi-entity condition.

Examples

"condition": {
    "type": "origins:riding",
    "bientity_condition": {
        "type": "origins:target_condition",
        "condition": {
            "type": "origins:entity_type",
            "entity_type": "minecraft:minecart"
        }
    }
}

This example will check if the actor entity is currently riding a minecart (target entity).