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")));