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

Method joinServer

Minecraft-Utils/1.9/src/Variables.java:427–435  ·  view source on GitHub ↗
(String host, int port)

Source from the content-addressed store, hash-verified

425 }
426
427 @Override
428 public void joinServer(String host, int port) {
429 if (getWorld() != null) {
430 getWorld().M();
431 }
432
433 MinecraftFactory.getClassProxyCallback().resetServer();
434 displayScreen(new bei((bfb) getMinecraftScreen(), getMinecraft(), new bkx(host, host + ":" + port, false)));
435 }
436
437 @Override
438 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