Climbing (Power Type)

Allows the entity that has the power to climb.

Allows the entity that has the power to climb.

Type ID: apoli:climbing

To have the usual climbing effect, it is recommended to check for the Collided Horizontally (Entity Condition Type) inside the condition object of the power.

Fields

FieldTypeDefaultDescription
allow_holdingBooleantrueIf true, the entity that has the power is able to hold onto blocks.
hold_conditionEntity Condition TypeoptionalIf specified and allow_holding is true, the entity that has the power will be able to ‘hold onto the block’ (not affected by gravity) if this condition is fulfilled, otherwise, defaults to if the entity is 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 example will allow the entity to climb in cobwebs and hold onto them by sneaking.