Class ClientConfigurationNetworkHandler

java.lang.Object
net.minecraft.client.network.ClientCommonNetworkHandler
net.minecraft.client.network.ClientConfigurationNetworkHandler
All Implemented Interfaces:
ClientCommonPacketListener, ClientConfigurationPacketListener, ClientPacketListener, PacketListener, TickablePacketListener

@Environment(CLIENT) public class ClientConfigurationNetworkHandler extends ClientCommonNetworkHandler implements TickablePacketListener, ClientConfigurationPacketListener
Mappings:
Namespace Name
official fiv
intermediary net/minecraft/class_8674
named net/minecraft/client/network/ClientConfigurationNetworkHandler
  • Field Details

    • LOGGER

      private static final Logger LOGGER
      Mappings:
      Namespace Name Mixin selector
      official g Lfiv;g:Lorg/slf4j/Logger;
      intermediary field_45596 Lnet/minecraft/class_8674;field_45596:Lorg/slf4j/Logger;
      named LOGGER Lnet/minecraft/client/network/ClientConfigurationNetworkHandler;LOGGER:Lorg/slf4j/Logger;
    • profile

      private final com.mojang.authlib.GameProfile profile
      Mappings:
      Namespace Name Mixin selector
      official h Lfiv;h:Lcom/mojang/authlib/GameProfile;
      intermediary field_45597 Lnet/minecraft/class_8674;field_45597:Lcom/mojang/authlib/GameProfile;
      named profile Lnet/minecraft/client/network/ClientConfigurationNetworkHandler;profile:Lcom/mojang/authlib/GameProfile;
    • registryManager

      private DynamicRegistryManager.Immutable registryManager
      Mappings:
      Namespace Name Mixin selector
      official i Lfiv;i:Lhr$b;
      intermediary field_45598 Lnet/minecraft/class_8674;field_45598:Lnet/minecraft/class_5455$class_6890;
      named registryManager Lnet/minecraft/client/network/ClientConfigurationNetworkHandler;registryManager:Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
    • enabledFeatures

      private FeatureSet enabledFeatures
      Mappings:
      Namespace Name Mixin selector
      official j Lfiv;j:Lcec;
      intermediary field_45599 Lnet/minecraft/class_8674;field_45599:Lnet/minecraft/class_7699;
      named enabledFeatures Lnet/minecraft/client/network/ClientConfigurationNetworkHandler;enabledFeatures:Lnet/minecraft/resource/featuretoggle/FeatureSet;
  • Constructor Details

    • ClientConfigurationNetworkHandler

      public ClientConfigurationNetworkHandler(MinecraftClient client, ClientConnection connection, ClientConnectionState connectionState)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfiu;<init>(Leqv;Lsm;Lfjb;)V
      intermediary <init> Lnet/minecraft/class_8673;<init>(Lnet/minecraft/class_310;Lnet/minecraft/class_2535;Lnet/minecraft/class_8675;)V
      named <init> Lnet/minecraft/client/network/ClientCommonNetworkHandler;<init>(Lnet/minecraft/client/MinecraftClient;Lnet/minecraft/network/ClientConnection;Lnet/minecraft/client/network/ClientConnectionState;)V
  • Method Details

    • isConnectionOpen

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

      protected DynamicRegistryManager.Immutable getRegistryManager()
      Specified by:
      getRegistryManager in class ClientCommonNetworkHandler
      Mappings:
      Namespace Name Mixin selector
      official f Lfiu;f()Lhr$b;
      intermediary method_29091 Lnet/minecraft/class_8673;method_29091()Lnet/minecraft/class_5455$class_6890;
      named getRegistryManager Lnet/minecraft/client/network/ClientCommonNetworkHandler;getRegistryManager()Lnet/minecraft/registry/DynamicRegistryManager$Immutable;
    • onCustomPayload

      protected void onCustomPayload(CustomPayload payload)
      Specified by:
      onCustomPayload in class ClientCommonNetworkHandler
      Mappings:
      Namespace Name Mixin selector
      official a Lfiu;a(Lvw;)V
      intermediary method_11152 Lnet/minecraft/class_8673;method_11152(Lnet/minecraft/class_8710;)V
      named onCustomPayload Lnet/minecraft/client/network/ClientCommonNetworkHandler;onCustomPayload(Lnet/minecraft/network/packet/CustomPayload;)V
    • handleCustomPayload

      private void handleCustomPayload(CustomPayload payload)
      Mappings:
      Namespace Name Mixin selector
      official b Lfiv;b(Lvw;)V
      intermediary method_52797 Lnet/minecraft/class_8674;method_52797(Lnet/minecraft/class_8710;)V
      named handleCustomPayload Lnet/minecraft/client/network/ClientConfigurationNetworkHandler;handleCustomPayload(Lnet/minecraft/network/packet/CustomPayload;)V
    • onDynamicRegistries

      public void onDynamicRegistries(DynamicRegistriesS2CPacket packet)
      Specified by:
      onDynamicRegistries in interface ClientConfigurationPacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Lwp;a(Lwr;)V
      intermediary method_52795 Lnet/minecraft/class_8732;method_52795(Lnet/minecraft/class_8734;)V
      named onDynamicRegistries Lnet/minecraft/network/listener/ClientConfigurationPacketListener;onDynamicRegistries(Lnet/minecraft/network/packet/s2c/config/DynamicRegistriesS2CPacket;)V
    • onFeatures

      public void onFeatures(FeaturesS2CPacket packet)
      Specified by:
      onFeatures in interface ClientConfigurationPacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Lwp;a(Lws;)V
      intermediary method_52796 Lnet/minecraft/class_8732;method_52796(Lnet/minecraft/class_7832;)V
      named onFeatures Lnet/minecraft/network/listener/ClientConfigurationPacketListener;onFeatures(Lnet/minecraft/network/packet/s2c/config/FeaturesS2CPacket;)V
    • onReady

      public void onReady(ReadyS2CPacket packet)
      Specified by:
      onReady in interface ClientConfigurationPacketListener
      Mappings:
      Namespace Name Mixin selector
      official a Lwp;a(Lwq;)V
      intermediary method_52794 Lnet/minecraft/class_8732;method_52794(Lnet/minecraft/class_8733;)V
      named onReady Lnet/minecraft/network/listener/ClientConfigurationPacketListener;onReady(Lnet/minecraft/network/packet/s2c/config/ReadyS2CPacket;)V
    • tick

      public void tick()
      Ticks this packet listener on the game engine thread. The listener is responsible for synchronizing between the game engine and netty event loop threads.
      Specified by:
      tick in interface TickablePacketListener
      Mappings:
      Namespace Name Mixin selector
      official e Lta;e()V
      intermediary method_18784 Lnet/minecraft/class_7633;method_18784()V
      named tick Lnet/minecraft/network/listener/TickablePacketListener;tick()V