Help with Flying Armor

Started by Dragoncheetah on

Topic category: Advanced modding

Last seen on 17:32, 1. Dec 2016
Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help with Flying Armor

Hello, I am working on a mod that has armor that allows you to fly, specificly the Chestplate, but I seem not to be able to make it so that you can fly and fall WITHOUT fall damage. Can anyone tellme what I have done wrong? I am afraid I will mess something up...

Last seen on 22:52, 27. Oct 2017
Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You have to edit the code or
Mon, 11/28/2016 - 13:12

You have to edit the code or add custom code to it to enable it not to give you fall damage there are a few posts about, about it, I would give you the code but I on the hunt gain myself same problem with my slime boots.

Last seen on 22:52, 27. Oct 2017
Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I have found my old code what
Mon, 11/28/2016 - 13:21

I have found my old code what might help

 

entity.capabilities.allowFlying = true;
entity.capabilities.isFlying = true;
entity.fallDistance = 0.0F;

Last seen on 17:32, 1. Dec 2016
Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Thank you LureLusten! This
Mon, 11/28/2016 - 18:05

Thank you LureLusten! This will be so helpful in my mod.

Last seen on 01:14, 1. Feb 2017
Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try adding resistance status
Mon, 11/28/2016 - 23:36

Try adding resistance status effect when the chestplate is worn, for no fall damage

Last seen on 22:52, 27. Oct 2017
Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
RE:Try adding resistance status
Tue, 11/29/2016 - 09:22

@#4 The code I have posted will stop fall damage full stop.

Last seen on 22:52, 27. Oct 2017
Joined Nov 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
entity.fallDistance = 0.0F;
Tue, 11/29/2016 - 12:08

entity.fallDistance = 0.0F;