Help! Armor with the ability to fly

Started by JackIvanovich on

Topic category: Help with modding (Java Edition)

Last seen on 10:03, 29. Apr 2024
Joined Mar 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Help! Armor with the ability to fly

Good afternoon! Please help me figure it out. I'm trying to make an armor that allows the player to fly when put on. But after the player removes it, the flight remains. What am I doing wrong and how can I fix it? Thank you in advance!

Last seen on 11:05, 20. Sep 2024
Joined Jul 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You should instead make a…
Fri, 05/20/2022 - 23:11

You should instead make a seperate procedure that with global trigger of player tick update that checks if the armor slots contain your armor. If true, flight is enabled, else it would disable it.