Modify Slipperiness (Power Type)

Adjusts your friction, allowing you to emulate or counter the effects of ice blocks under certain conditions.

Adjusts your friction, allowing you to emulate or counter the effects of ice blocks under certain conditions.

Type ID: apoli:modify_slipperiness

Fields

FieldTypeDefaultDescription
block_conditionBlock Condition TypeoptionalIf specified, the modifier(s) will only apply to the blocks that fulfills this condition.
modifierAttribute ModifieroptionalIf specified, this modifier will be applied to the entity’s slipperiness.
modifiersArray of Attribute ModifiersoptionalIf specified, these modifiers will be applied to the entity’s slipperiness.

Examples

{
    "type": "apoli:modify_slipperiness",
    "modifier": {
        "operation": "multiply_total",
        "value": 0.5
    },
    "block_condition": {
        "type": "apoli:block",
        "block": "minecraft:dirt"
    }
}

This example will increase the entity’s friction by 50% while standing on dirt blocks.