Skip to content

Modify Falling

Modifies the falling velocity of the entity holding the power and optionally whether it should take fall damage or not.

Type ID: kaya:modify/falling

Format

Field Type Default Description
modifiers Array of Modifiers The modifiers to apply to the falling velocity of the entity.
take_fall_damage Boolean Provider true Determines whether the entity should take fall damage.

Example

{
    "type": "kaya:modify/falling",
    "modifiers": [
        {
            "type": "kaya:set",
            "phase": "base",
            "amount": 0.01
        }
    ],
    "take_fall_damage": false,
    "active_condition": {
        "type": "kaya:inverted",
        "condition": {
            "type": "kaya:is_entity_sneaking",
            "entity": "this"
        }
    }
}

This example makes the entity fall very slowly (akin to the Slow Falling status effect) if they're not sneaking.

History

Minecraft Mod Changelog
1.21.5 0.1.0 Added the type.