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

Method disconnectFromWorld

Minecraft-Utils/1.8.8/src/Variables.java:486–502  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

484 }
485
486 @Override
487 public void disconnectFromWorld() {
488 boolean isOnIntegratedServer = getMinecraft().E();
489 boolean isConnectedToRealms = getMinecraft().al();
490 if (getWorld() != null) {
491 getWorld().H();
492 }
493 getMinecraft().a((bdb) null);
494 if (isOnIntegratedServer) {
495 displayScreen(new aya());
496 } else if (isConnectedToRealms) {
497 RealmsBridge realmsBridge = new RealmsBridge();
498 realmsBridge.switchToRealms(new aya());
499 } else {
500 displayScreen(new azh(new aya()));
501 }
502 }
503
504 @Override
505 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