Exemplo n.º 1
0
 public GuiConnecting(
     GuiScreen par1GuiScreen, Minecraft par2Minecraft, ServerData par3ServerData) {
   this.mc = par2Minecraft;
   this.field_98098_c = par1GuiScreen;
   ServerAddress serveraddress = ServerAddress.func_78860_a(par3ServerData.serverIP);
   par2Minecraft.loadWorld((WorldClient) null);
   par2Minecraft.setServerData(par3ServerData);
   this.spawnNewServerThread(serveraddress.getIP(), serveraddress.getPort());
 }
Exemplo n.º 2
0
 public GuiConnecting(GuiScreen par1GuiScreen, Minecraft par2Minecraft, String par3Str, int par4) {
   this.mc = par2Minecraft;
   this.field_98098_c = par1GuiScreen;
   par2Minecraft.loadWorld((WorldClient) null);
   this.spawnNewServerThread(par3Str, par4);
 }