75767778798081
* @param port */ public void join(String ip, int port, GuiScreen from, String name) { this.joinedFrom = from; this.screenName = name; SpoutClient.getHandle().displayGuiScreen(new GuiConnecting(SpoutClient.getHandle(), new ServerData(name, ip + ":" + port))); }
81828384858687
} public void join(SpoutServerData serverData, GuiScreen from, String name) { this.joinedFrom = from; this.screenName = name; SpoutClient.getHandle().displayGuiScreen(new GuiConnecting(SpoutClient.getHandle(), serverData)); }
114115116117118119120
} } class ReconnectButton extends GenericButton { public void onButtonClick() { Minecraft.getMinecraft().displayGuiScreen(new GuiConnecting(Minecraft.getMinecraft(), GuiConnectionLost.lastServerIp, GuiConnectionLost.lastServerPort)); }
596061626364656667
} } public static void teleport(net.minecraft.src.Minecraft mc) { if (portNum != -1 && hostName != null) { mc.displayGuiScreen(new GuiConnecting(mc, hostName, portNum)); serverTeleport = true; } }
476477478479480481482483484485486
checkGLError("Post startup"); ingameGUI = new GuiIngame(this); if (serverName != null) { displayGuiScreen(new GuiConnecting(this, serverName, serverPort)); } else { displayGuiScreen(new GuiMainMenu()); }