Started by Warden154 on Wed, 12/28/2022 - 06:02
Topic category: Help with modding (Java Edition)
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?
Make sure to check if the player has more than 0 xp levels, then use the 'remove _ XP levels from Event/target entity'
thank you, this was really helpful!