Skip to main content

Modify Slipperiness (Power Type)

Changes how slippery blocks are for the entity with the power. Use it to make ground behave like ice, or to stop ice from being slippery, under the conditions you choose.

Type ID: apoli:modify_slipperiness

Fields

FieldTypeDefaultDescription
block_conditionBlock Condition TypeoptionalIf set, the modifiers only apply to blocks that pass this condition.
modifierAttribute ModifieroptionalIf set, this modifier is applied to the slipperiness.
modifiersArray of Attribute ModifiersoptionalIf set, these modifiers are applied to the slipperiness.

Examples

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

This makes dirt 50% more slippery for the entity.