Started by
littledude47
on
Topic category: Help with Minecraft modding (Java Edition)
title explains it really, the only way I could think is by adding a movement vector for y but it needs an input for when you are in the air and pressed space bar
You can check if the block below them is air, and you can also just create a new keybind for the space bar.
Or make it make a "cloud" block when you crouch and jump so you can jump again.
https://imgur.com/ntowA9c
▲To set up event triggers.
The blocks that the player can pass must be -1 value.(air, grass, flowers...)
Set the Y-value of the block you can step on to -2 to prevent it from going up endlessly.
It's a considerable amount of work, but it's a sure way.
The rising value must be given 0.5. This is about 1 kan height of Minecraft block.
You can set this on the KeyBind.
Setup key (space bar)