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

Method disconnectFromWorld

Minecraft-Utils/1.8.9/src/Variables.java:483–499  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

481 }
482
483 @Override
484 public void disconnectFromWorld() {
485 boolean isOnIntegratedServer = getMinecraft().E();
486 boolean isConnectedToRealms = getMinecraft().al();
487 if (getWorld() != null) {
488 getWorld().H();
489 }
490 getMinecraft().a((bdb) null);
491 if (isOnIntegratedServer) {
492 displayScreen(new aya());
493 } else if (isConnectedToRealms) {
494 RealmsBridge realmsBridge = new RealmsBridge();
495 realmsBridge.switchToRealms(new aya());
496 } else {
497 displayScreen(new azh(new aya()));
498 }
499 }
500
501 @Override
502 public IServerPinger getServerPinger() {

Callers

nothing calls this directly

Calls 4

getMinecraftMethod · 0.95
getWorldMethod · 0.95
displayScreenMethod · 0.95
aMethod · 0.45

Tested by

no test coverage detected