Class ServerCommonNetworkHandler

java.lang.Object
net.minecraft.class_10972
net.minecraft.server.network.ServerCommonNetworkHandler
All Implemented Interfaces:
PacketListener, ServerCommonPacketListener, ServerCookieResponsePacketListener, ServerCrashSafePacketListener, ServerPacketListener
Direct Known Subclasses:
ServerConfigurationNetworkHandler, ServerPlayNetworkHandler

public abstract class ServerCommonNetworkHandler extends class_10972
Mappings:
Namespace Name
named net/minecraft/server/network/ServerCommonNetworkHandler
intermediary net/minecraft/class_8609
official att
  • Field Details

    • field_58305

      protected final GameInstance field_58305
      Mappings:
      Namespace Name Mixin selector
      named field_58305 Lnet/minecraft/server/network/ServerCommonNetworkHandler;field_58305:Lnet/minecraft/server/GameInstance;
      intermediary field_58305 Lnet/minecraft/class_8609;field_58305:Lnet/minecraft/class_10961;
      official b Latt;b:Lana;
    • flushDisabled

      private volatile boolean flushDisabled
      Mappings:
      Namespace Name Mixin selector
      named flushDisabled Lnet/minecraft/server/network/ServerCommonNetworkHandler;flushDisabled:Z
      intermediary field_45715 Lnet/minecraft/class_8609;field_45715:Z
      official c Latt;c:Z
  • Constructor Details

    • ServerCommonNetworkHandler

      public ServerCommonNetworkHandler(GameInstance gameInstance, ClientConnection connection, ConnectedClientData clientData)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/server/network/ServerCommonNetworkHandler;<init>(Lnet/minecraft/server/GameInstance;Lnet/minecraft/network/ClientConnection;Lnet/minecraft/server/network/ConnectedClientData;)V
      intermediary <init> Lnet/minecraft/class_8609;<init>(Lnet/minecraft/class_10961;Lnet/minecraft/class_2535;Lnet/minecraft/class_8792;)V
      official <init> Latt;<init>(Lana;Lvx;Latj;)V
  • Method Details

    • onDisconnected

      public void onDisconnected(DisconnectionInfo info)
      Called when the connection this listener listens to has disconnected. Can be used to display the disconnection reason.
      Mappings:
      Namespace Name Mixin selector
      named onDisconnected Lnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/network/DisconnectionInfo;)V
      intermediary method_10839 Lnet/minecraft/class_2547;method_10839(Lnet/minecraft/class_9812;)V
      official a Lwm;a(Lvz;)V
    • onPacketException

      public void onPacketException(Packet packet, Exception exception) throws CrashException
      Throws:
      CrashException
      Mappings:
      Namespace Name Mixin selector
      named onPacketException Lnet/minecraft/network/listener/PacketListener;onPacketException(Lnet/minecraft/network/packet/Packet;Ljava/lang/Exception;)V
      intermediary method_59807 Lnet/minecraft/class_2547;method_59807(Lnet/minecraft/class_2596;Ljava/lang/Exception;)V
      official a Lwm;a(Lzq;Ljava/lang/Exception;)V
    • onResourcePackStatus

      public void onResourcePackStatus(ResourcePackStatusC2SPacket packet)
      Specified by:
      onResourcePackStatus in interface ServerCommonPacketListener
      Overrides:
      onResourcePackStatus in class class_10972
      Mappings:
      Namespace Name Mixin selector
      named onResourcePackStatus Lnet/minecraft/network/listener/ServerCommonPacketListener;onResourcePackStatus(Lnet/minecraft/network/packet/c2s/common/ResourcePackStatusC2SPacket;)V
      intermediary method_52395 Lnet/minecraft/class_8706;method_52395(Lnet/minecraft/class_2856;)V
      official a Laal;a(Laaq;)V
    • disableFlush

      public void disableFlush()
      Mappings:
      Namespace Name Mixin selector
      named disableFlush Lnet/minecraft/server/network/ServerCommonNetworkHandler;disableFlush()V
      intermediary method_53046 Lnet/minecraft/class_8609;method_53046()V
      official e Latt;e()V
    • enableFlush

      public void enableFlush()
      Mappings:
      Namespace Name Mixin selector
      named enableFlush Lnet/minecraft/server/network/ServerCommonNetworkHandler;enableFlush()V
      intermediary method_53047 Lnet/minecraft/class_8609;method_53047()V
      official f Latt;f()V
    • method_69146

      public void method_69146(DisconnectionInfo disconnectionInfo)
      Specified by:
      method_69146 in class class_10972
      Mappings:
      Namespace Name Mixin selector
      named method_69146 Lnet/minecraft/class_10972;method_69146(Lnet/minecraft/network/DisconnectionInfo;)V
      intermediary method_69146 Lnet/minecraft/class_10972;method_69146(Lnet/minecraft/class_9812;)V
      official b Latz;b(Lvz;)V
    • method_69148

      protected boolean method_69148()
      Specified by:
      method_69148 in class class_10972
      Mappings:
      Namespace Name Mixin selector
      named method_69148 Lnet/minecraft/class_10972;method_69148()Z
      intermediary method_69148 Lnet/minecraft/class_10972;method_69148()Z
      official g Latz;g()Z
    • method_69149

      protected boolean method_69149()
      Specified by:
      method_69149 in class class_10972
      Mappings:
      Namespace Name Mixin selector
      named method_69149 Lnet/minecraft/class_10972;method_69149()Z
      intermediary method_69149 Lnet/minecraft/class_10972;method_69149()Z
      official h Latz;h()Z