Posted July 14, 201411 yr Hu everyone, I made a working gui with text input and one button. If i put the method mouseClicked() i can't click the button. If its not there i can click on it. Note it dosen't meter what i put in the method! Thanks for helping!
July 14, 201411 yr mouseClicked? I would use actionPerformed()... But i recently removed all Buttons from my mod cause i had some problems with netty and didn't really need them. This is for 1.4.7 but maybe it can help you: http://www.minecraftforum.net/forums/archive/tutorials/931088-1-4-7-forge-blaueseichoerns-gui-tutorial Here could be your advertisement!
July 14, 201411 yr Author I use mouseClicked() for focusing on the text input field. I use actionPreformed() for buttons. But they dont even click.
July 14, 201411 yr I use actionPreformed() for buttons. But they dont even click. Mine worked fine. src? Here could be your advertisement!
July 14, 201411 yr You need to call super.mouseClicked() . Don't PM me with questions. They will be ignored! Make a thread on the appropriate board for support. 1.12 -> 1.13 primer by williewillus. 1.7.10 and older versions of Minecraft are no longer supported due to it's age! Update to the latest version for support. http://www.howoldisminecraft1710.today/
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.