How to disable fall damage

Started by KorDen on

Topic category: Advanced modding

Joined May 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to disable fall damage
Mon, 05/22/2017 - 14:33 (edited)

I want to make an armor of shoes(boots) that when donning will disable(removes) the fall damage. How to do it?

 

Edited by KorDen on Mon, 05/22/2017 - 14:33
Joined Mar 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
goto events, do when armor
Wed, 05/24/2017 - 01:05

goto events, do when armor active {boots in your case} and goto custom code and paste

{

entity.fallDistance = 0.0F;
}

that should do it :D

Hope This Helps :D

Joined May 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:goto events, do when armor
Fri, 06/02/2017 - 13:20

@#1 Thank you! You helped me a very!

 

Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How do I accomplish this in…
Sun, 05/03/2020 - 00:31

How do I accomplish this in 2020.2 with the visual code?

Joined Jul 2017
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thx :)
Fri, 01/15/2021 - 00:45

Thx :)