Package net.minecraft.src

Examples of net.minecraft.src.GuiConnecting


   * @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)));
  }
View Full Code Here


  }

  public void join(SpoutServerData serverData, GuiScreen from, String name) {
    this.joinedFrom = from;
    this.screenName = name;
    SpoutClient.getHandle().displayGuiScreen(new GuiConnecting(SpoutClient.getHandle(), serverData));
  }
View Full Code Here

  }
}

class ReconnectButton extends GenericButton {
  public void onButtonClick() {
    Minecraft.getMinecraft().displayGuiScreen(new GuiConnecting(Minecraft.getMinecraft(), GuiConnectionLost.lastServerIp, GuiConnectionLost.lastServerPort));
  }
View Full Code Here

    }
  }

  public static void teleport(net.minecraft.src.Minecraft mc) {
    if (portNum != -1 && hostName != null) {
      mc.displayGuiScreen(new GuiConnecting(mc, hostName, portNum));
      serverTeleport = true;
    }
  }
View Full Code Here

        checkGLError("Post startup");
        ingameGUI = new GuiIngame(this);

        if (serverName != null)
        {
            displayGuiScreen(new GuiConnecting(this, serverName, serverPort));
        }
        else
        {
            displayGuiScreen(new GuiMainMenu());
        }
View Full Code Here

TOP

Related Classes of net.minecraft.src.GuiConnecting

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.