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

Method joinServer

Minecraft-Utils/1.12.2/src/Variables.java:459–467  ·  view source on GitHub ↗
(String host, int port)

Source from the content-addressed store, hash-verified

457 }
458
459 @Override
460 public void joinServer(String host, int port) {
461 if (getWorld() != null) {
462 getWorld().O();
463 }
464
465 MinecraftFactory.getClassProxyCallback().resetServer();
466 displayScreen(new bkr((blk) getMinecraftScreen(), getMinecraft(), new bse(host, host + ":" + port, false)));
467 }
468
469 @Override
470 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