How to disable fall damage

Started by KorDen on

Topic category: Advanced modding

Last seen on 13:46, 7. Jun 2017
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
Last seen on 09:13, 24. Nov 2020
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

Last seen on 13:46, 7. Jun 2017
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!

 

Last seen on 00:18, 18. May 2020
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?

Last seen on 00:18, 18. May 2020
Joined Apr 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
It worked!
Sun, 05/03/2020 - 00:59

It worked!

Last seen on 04:19, 18. Jul 2021
Joined Jul 2017
Points:

User statistics:

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

Thx :)