Modify Slipperiness
Adjusts your friction, allowing you to emulate or counter the effects of ice blocks under certain conditions.
Type ID: origins:modify_slipperiness
Fields
Field | Type | Default | Description |
---|---|---|---|
block_condition |
Block Condition Type | optional | If specified, the modifier(s) will only apply to the blocks that fulfills this condition. |
modifier |
Attribute Modifier | optional | If specified, this modifier will be applied to the entity's slipperiness. |
modifiers |
Array of Attribute Modifiers | optional | If specified, these modifiers will be applied to the entity's slipperiness. |
Examples
{
"type": "origins:modify_slipperiness",
"modifier": {
"operation": "multiply_total",
"value": 0.5
},
"block_condition": {
"type": "origins:block",
"block": "minecraft:dirt"
}
}
This example will increase the entity's friction by 50% while standing on dirt blocks.