Modify Jump

Power Type

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

Type ID: origins:modify_jump

Fields

Field Type Default Description
modifier Attribute Modifier optional If specified, this modifier will be applied to the upwards velocity.
modifiers Array of Attribute Modifiers optional If specified, these modifiers will be applied to the upwards velocity.
entity_action Entity Action Type optional If specified, this action will be executed on the entity that has the power whenever the entity jumps.

Examples

{
    "type": "origins:modify_jump",
    "modifier": {
        "operation": "addition",
        "value": 0.4
    },
    "entity_action": {
        "type": "origins: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.