Started by
Joe Swansawn
on
Topic category: Help with Minecraft modding (Java Edition)
I need to make boots that if you fall, it acts like if there was a slime block under you and also making you jump 2 blocks higher than normal. If this isn't possible without coding, then please instruct me on how to code that in because i'm not big on coding. Thank you in advance :).
Here we go,
Event Trigger is set to player tick
Then use an if statement and put: Get item from armor slot "0" of "entity", and then put your "slime boots"
In the do part put: Override fall distance of "entity" with "0" blocks for the next tick, and under that put another if statement with an and gate with "Y velocity of "entity"" < "-0.7" and another and gate with a "not: is "entity" sneaking" and "not: Get block at "x" "y position of "entity" - "0.8"" "z" = (block) air"
In the second do part put: Attempt to override motion vector of "entity" to vx: "X velocity of "entity"" vy: "Y velocity of "entity" - "Y velocity of "entity" * "2"" vz: "Z velocity of "entity""
Download:
https://drive.google.com/file/d/1ytnDmr8d8WgSiUH0DBNmlk_rBj1fyPWu/view?usp=sharing
Just put the boots in the top item box