Modify Jump (Power Type)

Modifies how high the entity that has the power can jump.

Modifies how high the entity that has the power can jump.

Type ID: apoli:modify_jump

Fields

FieldTypeDefaultDescription
modifierAttribute ModifieroptionalIf specified, this modifier will be applied to the upwards velocity.
modifiersArray of Attribute ModifiersoptionalIf specified, these modifiers will be applied to the upwards velocity.
entity_actionEntity Action TypeoptionalIf specified, this action will be executed on the entity that has the power whenever the entity jumps.

Examples

{
    "type": "apoli:modify_jump",
    "modifier": {
        "operation": "addition",
        "value": 0.4
    },
    "entity_action": {
        "type": "apoli:execute_command",
        "command": "particle cloud ~ ~ ~ 0.3 0.3 0.3 0.01 16 normal @a"
    }
}

This example will increase the entity that has the power’s jump height to 4 blocks and display a cloud particle at the entity’s feet upon jumping.