@Override public IThreadListener getWorldThread(INetHandler net) { if (net instanceof INetHandlerPlayClient || net instanceof INetHandlerLoginClient || net instanceof INetHandlerStatusClient) return getClient(); if (net instanceof INetHandlerHandshakeServer || net instanceof INetHandlerLoginServer || net instanceof INetHandlerPlayServer || net instanceof INetHandlerStatusServer) return getServer(); throw new RuntimeException("Unknown INetHandler: " + net); }
/** * Passes this Packet on to the NetHandler for processing. */ public void processPacket(INetHandlerStatusServer handler) { handler.processPing(this); }
/** * Passes this Packet on to the NetHandler for processing. */ public void processPacket(INetHandlerStatusServer handler) { handler.processServerQuery(this); }
public void processPacket(INetHandlerStatusServer p_149288_1_) { p_149288_1_.processPing(this); }
public void processPacket(INetHandler p_148833_1_) { this.processPacket((INetHandlerStatusServer)p_148833_1_); }
public void processPacket(INetHandlerStatusServer p_149287_1_) { p_149287_1_.processServerQuery(this); }
public void processPacket(INetHandlerStatusServer p_148833_1_) { p_148833_1_.processPing(this); }
public void processPacket(INetHandlerStatusServer p_148833_1_) { p_148833_1_.processServerQuery(this); }