0
votes

I have a mod source code I want to modify (CC:Tweaked) (/src/main/java/dan200/computercraft/client/gui/NoTermComputerScreen.java).

This mod has gui based on net.minecraft.client.gui.widget and net.minecraft.client.gui.screen. This gui uses only keyboard events (but grubs mouse),so I want to relace mouse from gui screen and make player able to move the camera and interact with world objects (such as buttons and other). I tried use minecraft.mouseHandler.grubMouse() but it close the gui. What I need to do to get wanted result?