Jump to content

I'm trying to make a button that connects to a defined server ip


Lapito

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...