Hey!
So I just saw this Video: https://www.youtube.com/watch?v=1BVE51x---0 I though: "That's a cool concept! Lets make this into a mod!"
I then got to work an set up a workspace in Intellij and began. However I notices really fast, that I couldn't modify the slipperiness value because its set to private final.
After some research in the forums and in the far corners of the internet I found I probably needed to use reflections to change these values.
The first problem is that this is the second time I ever tried to work with forge. So it's a pretty new environment to work in. And the second problem is that - although I have done quite a bit in Java - I have never really done reflections.
I have found some github repositories that seem to have "solved" this problem, however I couldn't find an "isolated" version. What do I mean by "isolated"? Well I mean a code snipped which I can look at and see exactly what It does when and why, and doesn't do anything else in that matter. But don't be misled, you don't need to spoonfeed me in that matter. I will gladly take any hint to the right direction.
Well and I also don't exactly have any failed attempts, I don't event know how I could start. I just though I will probably need to use a loop of some kind to actually modify each block.
For every hint or code snipped I would be very grateful.
~ Kavatch