Class ServerConfigurationNetworkHandler

java.lang.Object
net.minecraft.server.network.ServerCommonNetworkHandler
net.minecraft.server.network.ServerConfigurationNetworkHandler
All Implemented Interfaces:
PacketListener, ServerCommonPacketListener, ServerConfigurationPacketListener, ServerCrashSafePacketListener, ServerPacketListener, TickablePacketListener

public class ServerConfigurationNetworkHandler extends ServerCommonNetworkHandler implements TickablePacketListener, ServerConfigurationPacketListener
Mappings:
Namespace Name
official ale
intermediary net/minecraft/class_8610
named net/minecraft/server/network/ServerConfigurationNetworkHandler
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official d Lale;d:Lorg/slf4j/Logger;
      intermediary field_45020 Lnet/minecraft/class_8610;field_45020:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;LOGGER:Lorg/slf4j/Logger;
    • INVALID_PLAYER_DATA_TEXT

      private static final Text INVALID_PLAYER_DATA_TEXT
      Mappings:
      Namespace Name Mixin selector
      official e Lale;e:Lte;
      intermediary field_45021 Lnet/minecraft/class_8610;field_45021:Lnet/minecraft/class_2561;
      named INVALID_PLAYER_DATA_TEXT Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;INVALID_PLAYER_DATA_TEXT:Lnet/minecraft/text/Text;
    • profile

      private final com.mojang.authlib.GameProfile profile
      Mappings:
      Namespace Name Mixin selector
      official f Lale;f:Lcom/mojang/authlib/GameProfile;
      intermediary field_45022 Lnet/minecraft/class_8610;field_45022:Lcom/mojang/authlib/GameProfile;
      named profile Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;profile:Lcom/mojang/authlib/GameProfile;
    • tasks

      private final Queue<ServerPlayerConfigurationTask> tasks
      Mappings:
      Namespace Name Mixin selector
      official g Lale;g:Ljava/util/Queue;
      intermediary field_45023 Lnet/minecraft/class_8610;field_45023:Ljava/util/Queue;
      named tasks Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;tasks:Ljava/util/Queue;
    • currentTask

      Mappings:
      Namespace Name Mixin selector
      official h Lale;h:Lakx;
      intermediary field_45024 Lnet/minecraft/class_8610;field_45024:Lnet/minecraft/class_8605;
      named currentTask Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;currentTask:Lnet/minecraft/server/network/ServerPlayerConfigurationTask;
  • Constructor Details

    • ServerConfigurationNetworkHandler

      public ServerConfigurationNetworkHandler(MinecraftServer server, ClientConnection connection, com.mojang.authlib.GameProfile profile)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lale;<init>(Lnet/minecraft/server/MinecraftServer;Lsf;Lcom/mojang/authlib/GameProfile;)V
      intermediary <init> Lnet/minecraft/class_8610;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/class_2535;Lcom/mojang/authlib/GameProfile;)V
      named <init> Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;<init>(Lnet/minecraft/server/MinecraftServer;Lnet/minecraft/network/ClientConnection;Lcom/mojang/authlib/GameProfile;)V
  • Method Details

    • getProfile

      protected com.mojang.authlib.GameProfile getProfile()
      Specified by:
      getProfile in class ServerCommonNetworkHandler
      Mappings:
      Namespace Name Mixin selector
      official i Lald;i()Lcom/mojang/authlib/GameProfile;
      intermediary method_52403 Lnet/minecraft/class_8609;method_52403()Lcom/mojang/authlib/GameProfile;
      named getProfile Lnet/minecraft/server/network/ServerCommonNetworkHandler;getProfile()Lcom/mojang/authlib/GameProfile;
    • onDisconnected

      public void onDisconnected(Text reason)
      Called when the connection this listener listens to has disconnected. Can be used to display the disconnection reason.
      Specified by:
      onDisconnected in interface PacketListener
      Overrides:
      onDisconnected in class ServerCommonNetworkHandler
      Parameters:
      reason - the reason of disconnection; may be a generic message
      Mappings:
      Namespace Name Mixin selector
      official a Lsn;a(Lte;)V
      intermediary method_10839 Lnet/minecraft/class_2547;method_10839(Lnet/minecraft/class_2561;)V
      named onDisconnected Lnet/minecraft/network/listener/PacketListener;onDisconnected(Lnet/minecraft/text/Text;)V
    • isConnectionOpen

      public boolean isConnectionOpen()
      Specified by:
      isConnectionOpen in interface PacketListener
      Mappings:
      Namespace Name Mixin selector
      official c Lsn;c()Z
      intermediary method_48106 Lnet/minecraft/class_2547;method_48106()Z
      named isConnectionOpen Lnet/minecraft/network/listener/PacketListener;isConnectionOpen()Z
    • sendConfigurations

      public void sendConfigurations()
      Mappings:
      Namespace Name Mixin selector
      official l Lale;l()V
      intermediary method_52409 Lnet/minecraft/class_8610;method_52409()V
      named sendConfigurations Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;sendConfigurations()V
    • queueJoinWorldTask

      public void queueJoinWorldTask()
      Mappings:
      Namespace Name Mixin selector
      official m Lale;m()V
      intermediary method_52410 Lnet/minecraft/class_8610;method_52410()V
      named queueJoinWorldTask Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;queueJoinWorldTask()V
    • queueSendResourcePackTask

      private void queueSendResourcePackTask()
      Mappings:
      Namespace Name Mixin selector
      official n Lale;n()V
      intermediary method_52411 Lnet/minecraft/class_8610;method_52411()V
      named queueSendResourcePackTask Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;queueSendResourcePackTask()V
    • onResourcePackStatus

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

      public void onReady(ReadyC2SPacket packet)
      Specified by:
      onReady in interface ServerConfigurationPacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Lwl;a(Lwm;)V
      intermediary method_52408 Lnet/minecraft/class_8735;method_52408(Lnet/minecraft/class_8736;)V
      named onReady Lnet/minecraft/network/listener/ServerConfigurationPacketListener;onReady(Lnet/minecraft/network/packet/c2s/config/ReadyC2SPacket;)V
    • tick

      public void tick()
      Specified by:
      tick in interface TickablePacketListener
      Mappings:
      Namespace Name Mixin selector
      official e Lst;e()V
      intermediary method_18784 Lnet/minecraft/class_7633;method_18784()V
      named tick Lnet/minecraft/network/listener/TickablePacketListener;tick()V
    • pollTask

      private void pollTask()
      Mappings:
      Namespace Name Mixin selector
      official o Lale;o()V
      intermediary method_52412 Lnet/minecraft/class_8610;method_52412()V
      named pollTask Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;pollTask()V
    • onTaskFinished

      private void onTaskFinished(ServerPlayerConfigurationTask.Key key)
      Mappings:
      Namespace Name Mixin selector
      official a Lale;a(Lakx$a;)V
      intermediary method_52406 Lnet/minecraft/class_8610;method_52406(Lnet/minecraft/class_8605$class_8606;)V
      named onTaskFinished Lnet/minecraft/server/network/ServerConfigurationNetworkHandler;onTaskFinished(Lnet/minecraft/server/network/ServerPlayerConfigurationTask$Key;)V