Created
July 10, 2014 22:42
-
-
Save WhiteAbeLincoln/fafa8b13405ca8bcb89d to your computer and use it in GitHub Desktop.
Key input handling for minecraft 1.7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class KeyInputHandler { | |
@SubscribeEvent | |
public void onKeyInput(InputEvent.KeyInputEvent event) { | |
if(KeyBindings.pong.isPressed()) | |
System.out.println("pong"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment