help with custom elements

Started by Unmiet on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
help with custom elements

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?

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Helo,   You could code a…
Wed, 01/08/2025 - 17:00

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

Joined Apr 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Moti2020_Dev Hello, I forgot…
Wed, 01/08/2025 - 22:27

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