How to disable fall damage

Started by KorDen on Mon, 05/22/2017 - 14:30

Topic category: Advanced modding

Last seen on 13:46, 7. Jun 2017
Joined May 2017
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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 07:58, 22. May 2020
Joined Mar 2015
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
User points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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
User points:

User statistics:

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

It worked!