Posted November 4, 201311 yr So I've followed SoBiohazardous's tutorial on key binds, but my only problem now, is that my key bind is called whenever the player is typing something or in their inventory. Is there a way to detect if the player is typing or in another GUI? Kain
November 4, 201311 yr Hi Yes there is. Vanilla uses it a lot in Minecraft.runTick() http://greyminecraftcoder.blogspot.com.au/2013/10/user-input.html this.currentScreen == null -TGG
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.