armor that uses XP when you fly

Started by Warden154 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
armor that uses XP when you fly

Me and my friends are making a mod, and one of the ideas was an armor that will allow you to fly (that part I figured out), but the part I am stuck on is that when you are flying, it uses up XP. Is there a way to do that?

Joined Jan 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Make sure to check if the…
Sat, 01/14/2023 - 05:27

Make sure to check if the player has more than 0 xp levels, then use the 'remove _ XP levels from Event/target entity'

Screenshot-d-01-13-231507

Joined Dec 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
thank you, this was really…
Tue, 01/17/2023 - 02:45

thank you, this was really helpful!