Posted July 15, 201312 yr I have been looking around at various events but none seem to be able to check if the player is in or touching water. I am trying to make it so the player gets a speed boost when they are in water and wearing my armor. The only thing I have not figured out is how to check that Any help is appreciated!! Creator of Metroid Cubed! Power Suits, Beams, Hypermode and more! http://i.imgur.com/ghgWmA3.jpg[/img]
July 15, 201312 yr if i remember the names correctly, player.handleWaterMovement() or player.isInWater()
July 15, 201312 yr Have a look at EntityBoat.java in method onUpdate(). The boat checks to see if it is in water there.
July 15, 201312 yr Author thx, that worked! Creator of Metroid Cubed! Power Suits, Beams, Hypermode and more! http://i.imgur.com/ghgWmA3.jpg[/img]
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.