Lapito Posted June 24, 2013 Share 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"))); Link to comment Share on other sites More sharing options...
Altair357 Posted June 24, 2013 Share Posted June 24, 2013 Hi Lapito! Link to comment Share on other sites More sharing options...
planetguy Posted June 25, 2013 Share Posted June 25, 2013 http://www.minecraftforge.net/wiki/Containers_and_GUIs See the "Buttons" section. Link to comment Share on other sites More sharing options...
Lapito Posted June 25, 2013 Author Share 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. Link to comment Share on other sites More sharing options...
planetguy Posted June 25, 2013 Share 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. Link to comment Share on other sites More sharing options...
Lapito Posted June 25, 2013 Author Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now