Slipperiness setting for blocks

Upvotes: 10
Issue description

This option would make it possible to create slippery blocks such as ice; the default slipperiness value is 0.6F.

It can be set by adding

.slipperiness(0.6F) //1.14.4

this.slipperiness = 0.6F; //1.12.2

to the constructor

Issue comments

Does it mean that if you set the Slipperiness to a value < 1 like 0.6 the Player gets slower but if you set it higher then 1 would the Player accelerate forever?

Actual the inverse works, ice has bigger slipperiness which makes it move a bit slower, but stops later and vice versa.

It should be called momentum amount but they call it slipperiness.



Donate to MCreator

By donating to developers you can speed up development, as with more resources, we can dedicate more time to MCreator. It is a free project made by developers working on it in their free time.