armor problems

Started by DarkWolf on

Topic category: Help with modding (Java Edition)

Last seen on 00:46, 5. Dec 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
armor problems
Sat, 06/27/2020 - 06:39 (edited)

I have a problem, I made an armor that can fly, the question is that just having it in the inventory gives me the ability to fly (which I don't want because it breaks the balance of my mod) so I searched the forums for a solution and I found with this (https://mcreator.net/tracker/issue/47082) but it still doesn't work. I want only by having the armor equipped can I fly.

the problem would say that this is that in the post that I set to do this the GUI says that having the object in the inventory will activate the ability to fly (which I do not want) but ... is there a way that it only gives me the ability to fly by equipping armor? (and to remove the ability when I no longer have the armor obviously equipped)

Edited by DarkWolf on Sat, 06/27/2020 - 06:39
Last seen on 16:31, 28. Aug 2020
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
and in the function the…
Sat, 06/27/2020 - 07:15
and in the function the procedure you could make a variable and after spawning the player the variable is so high that the player without "special" armor
he couldn't fly and after gloom he changes the value and the player with the armor can fly

 

Last seen on 00:46, 5. Dec 2023
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
sorry i didn't understand …
Sat, 06/27/2020 - 07:53

sorry i didn't understand ... can you tell me differently or pass a photo?