Started by
Unmiet
on
Topic category: Help with Minecraft modding (Java Edition)
I wanted to make a custom element that makes it so that when the player is using "exemplemod:exemple_boots" he can jump in the air infinitely, what would be the code to do this, and how could I put this code in the boot so that it works correctly?
Helo,
You could code a global player tick update procedure:
if armour slot 3 = item(example:example_boots)
execute command /execute as @p run atribute gravity 0
else
execute command /execute as @p run atribute gravity 0.08
Moti2020_Dev Hello, I forgot to mention that I'm using version 2022.2 of mcreator :/ Actually what I wanted to do is literally an air jump, where you can jump again while you're in the air, and not jump higher with low gravity. I don't know if it's possible to do this just with procedures without using custom elements