Height of fall

Started by sergeylyan on

Topic category: Help with Minecraft modding (Java Edition)

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Height of fall

How do I change the height of the fall? So that when I jump high there is no damage. But if I fall from a greater height, I will receive damage.

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i didn't test this myself,…
Wed, 03/05/2025 - 21:28

i didn't test this myself, but i think it should work:

all you need is to make a global procedure with trigger "Entity Falls", make a new local variable and get the "distance" dependency from the global trigger

Joined Mar 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
i just noticed, inside the …
Thu, 03/06/2025 - 01:18

i just noticed, inside the "if then else" block you should change "distance > maxfalldistance" with "distance < maxfalldistance"