An update that takes data-driven overlays out of beta. As a reminder, you can now create your own overlay using the alluyslorigins:overlay
power type (which supports conditions), with a few parameters which are slightly different from those in the beta so check the wiki, and if I haven't wrote anything there yet, contact me.
It also adds the modify_slipperiness
power type, that allows you to make blocks more slippery (example below).
╓
║ IMPORTANT
║
║ The mod REQUIRES this specific version of Origins (and the Fabric API as well) and Pehkui 2.1.0 or over to function properly.
╙
Don't hesitate to open an issue if you find any bug!
Example
Players with this power and boats they drive will slide on blocks as if their slipperiness was halfway in-between their normal one and a slipperiness of 1, but only on sand and when the player is exposed to the sky.
For reference the default is 0.6, slime blocks have 0.8, ice and packed ice 0.98, and blue ice 0.989.
{
"type": "alluyslorigins:modify_slipperiness",
"value": 0.5,
"condition": {
"type": "origins:exposed_to_sky"
},
"block_condition": {
"type": "origins:block",
"block": "minecraft:sand"
},
"affect_boats": true
}