cowlegs Posted January 20, 2018 Posted January 20, 2018 Hey, I'm using forge 1.8 (I'm more familiar in this version, and I'm trying to refresh my knowledge before moving onto newer ones I know little about in comparison) and for some reason everytime I run my keybind post-initialization the game crashes and shuts down... Please help! //======================================================== static EntityPlayer player = Minecraft.getMinecraft().thePlayer; static boolean used; static EntityLivingBase entitylivingbase = player; public static class KeyInputHandler { @SubscribeEvent public void onKeyInput(InputEvent.KeyInputEvent Event) { if(activateShikai.isPressed()){ System.out.println("MODEUP!"); } if(Flashstep.isPressed()){ System.out.println("FLASHSTEPPED!"); if(used == false) { used = true; double x = player.getLookVec().xCoord; double y = player.getLookVec().yCoord; double z = player.getLookVec().zCoord; player.setPosition(x, y, z); } } } } //======================================================== Quote
Recommended Posts
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.