Lapito Posted June 24, 2013 Posted June 24, 2013 Hello, I'm trying to make a button that connects to a defined server ip. What function do I need to give it? Here's the button: this.buttonList.add(new GuiButton(10, this.width / 2 - 100, par1 - par2 * 1, par3StringTranslate.translateKey("Connect to Spacecrafters"))); Quote
planetguy Posted June 25, 2013 Posted June 25, 2013 http://www.minecraftforge.net/wiki/Containers_and_GUIs See the "Buttons" section. Quote
Lapito Posted June 25, 2013 Author Posted June 25, 2013 http://www.minecraftforge.net/wiki/Containers_and_GUIs See the "Buttons" section. Thanks, but could you help me please? I just want the people to click in the button and connect to the server. Quote
planetguy Posted June 25, 2013 Posted June 25, 2013 VoxelMenu adds just that, so you might try decompiling it to see. You might try the Forge forums, since more knowledgeable modders are likely to be there. Quote
Lapito Posted June 25, 2013 Author Posted June 25, 2013 VoxelMenu adds just that, so you might try decompiling it to see. You might try the Forge forums, since more knowledgeable modders are likely to be there. Ok, thanks. 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.