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")));
planetguy Posted June 25, 2013 Posted June 25, 2013 http://www.minecraftforge.net/wiki/Containers_and_GUIs See the "Buttons" section.
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.
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.
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.
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