MCPcopy Create free account
hub / github.com/5zig/The-5zig-Mod / joinServer

Method joinServer

Minecraft-Utils/1.12/src/Variables.java:460–468  ·  view source on GitHub ↗
(String host, int port)

Source from the content-addressed store, hash-verified

458 }
459
460 @Override
461 public void joinServer(String host, int port) {
462 if (getWorld() != null) {
463 getWorld().O();
464 }
465
466 MinecraftFactory.getClassProxyCallback().resetServer();
467 displayScreen(new bkp((bli) getMinecraftScreen(), getMinecraft(), new bsc(host, host + ":" + port, false)));
468 }
469
470 @Override
471 public void joinServer(Object parentScreen, Object serverData) {

Callers

nothing calls this directly

Calls 6

getWorldMethod · 0.95
getClassProxyCallbackMethod · 0.95
displayScreenMethod · 0.95
getMinecraftScreenMethod · 0.95
getMinecraftMethod · 0.95
resetServerMethod · 0.65

Tested by

no test coverage detected