Riding
Checks whether the actor entity is directly riding the target entity.
Type ID: apoli:riding
Fields
| Field | Type | Default | Description |
|---|---|---|---|
bientity_condition |
Bi-entity Condition | optional | If specified, it will only check for the entity/entities that fulfills the bi-entity condition. |
Example
"condition": {
"type": "apoli:riding",
"bientity_condition": {
"type": "apoli:target_condition",
"condition": {
"type": "apoli:entity_type",
"entity_type": "minecraft:minecart"
}
}
}
This example checks if the actor entity is currently riding a minecart (target entity).