Climbing (Power Type)
Lets the entity that has the power climb.
Type ID: apoli:climbing
tip
To climb walls the usual way, put an apoli:collided_horizontally check in the power's condition.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
allow_holding | Boolean | true | If true, the entity can hold onto the block it is climbing. |
hold_condition | Entity Condition Type | optional | If set and allow_holding is true, the entity holds onto the block (gravity stops pulling it down) while this condition passes. Without it, the entity holds on while sneaking. |
Examples
{
"type": "apoli:climbing",
"condition": {
"type": "apoli:in_block_anywhere",
"block_condition": {
"type": "apoli:in_tag",
"tag": "apoli:cobwebs"
}
},
"hold_condition": {
"type": "apoli:in_block_anywhere",
"block_condition": {
"type": "apoli:in_tag",
"tag": "apoli:cobwebs"
}
}
}This lets the entity climb inside cobwebs. The hold_condition is the same cobweb check, so the entity holds its position whenever it is in a cobweb.