Ok So i know this aint gonna be much help but i was wondering does anybody have a soloution to where if you have a command on an item e.g. powertool on a stick and when u left click while on the ground it wont work only when you are in the air, I am running minecraft 1.8
You can make an addon for it, kind of. Just replicate the powertool command, and where it does the code just put a Code: if(player.isFlying()) { // do your powertool } else { // dont do powertool } around it.
Ok maybe i forgot to also state im new in this field and i need guidence for the answer you have given me