Posted July 25, 201312 yr Hi, i'm working with Eclipse and i want to debug my Mod. But when i reach the breakpoint I'm not in a GUI, so the mouse is stuck in the center of the screen and I can't use My Mouse in Eclipse. Is there any way to prevent that from happening? siiikooo Minecraft!
July 26, 201312 yr Author That's what i'm doing to get to eclipse^^ But then i can't move my mouse. Minecraft!
August 28, 201312 yr before and after your breakpoint release and grab the mouse: Mouse.setGrabbed(false); //breakpoint Mouse.setGrabbed(true); or alt+tab or windows key or any combinaison of key that will unlock the mouse anyway how to debug 101:http://www.minecraftforge.net/wiki/Debug_101 -hydroflame, author of the forge revolution-
August 30, 201312 yr Author or alt+tab or windows key or any combinaison of key that will unlock the mouse anyway That doesnt work for me (I'm under Linux/Kubuntu) before and after your breakpoint release and grab the mouse: Thank you that should work. For everyone who has the same problem: Minecraft.getMinecraft().setIngameNotInFocus(); befor the breakpoint should also work fine. siiikooo Minecraft!
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.