I am trying to make a cheat that is more of a helpful mod. I want to discover the value for "is the player in water" and make it so that when you press G for the special item if you are in water, it will switch to and use the boat. if you are not, it will switch to and use the hang glider. I dont know where to start though as I have no earthly idea how I can find the value for water hittest.
not to mention I dont know how to automate this anyways... any ideas to egt me started?