Posted January 31, 201510 yr I'm creating a wand in my mod that grants the user flight when right clicked and removes the flight when right clicked again. This is all working except for if you are flying and right click in the air, you can still fly around until you touch the ground. How would I make it so when you right click the wand to take the flight off, you fall to the ground?
January 31, 201510 yr You set player.isFlying to false. Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.