Package net.minecraft.client.network
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 Summary
Modifier and TypeFieldDescriptionprivate FeatureSet
private static final Logger
private final com.mojang.authlib.GameProfile
private DynamicRegistryManager.Immutable
Fields inherited from class net.minecraft.client.network.ClientCommonNetworkHandler
brand, client, connection, postDisconnectScreen, serverInfo, worldSession
-
Constructor Summary
ConstructorDescriptionClientConfigurationNetworkHandler
(MinecraftClient client, ClientConnection connection, ClientConnectionState connectionState) -
Method Summary
Modifier and TypeMethodDescriptionprotected DynamicRegistryManager.Immutable
private void
handleCustomPayload
(CustomPayload payload) boolean
protected void
onCustomPayload
(CustomPayload payload) void
void
onFeatures
(FeaturesS2CPacket packet) void
onReady
(ReadyS2CPacket packet) void
tick()
Ticks this packet listener on the game engine thread.Methods inherited from class net.minecraft.client.network.ClientCommonNetworkHandler
createDisconnectedScreen, getBrand, onCustomPayload, onDisconnect, onDisconnected, onKeepAlive, onPing, onResourcePackSend, onSynchronizeTags, sendPacket, sendQueuedPackets
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.minecraft.network.listener.ClientCommonPacketListener
onCustomPayload, onDisconnect, onKeepAlive, onPing, onResourcePackSend, onSynchronizeTags
Methods inherited from interface net.minecraft.network.listener.ClientConfigurationPacketListener
getState
Methods inherited from interface net.minecraft.network.listener.ClientPacketListener
getSide
Methods inherited from interface net.minecraft.network.listener.PacketListener
accepts, onDisconnected, shouldCrashOnException
-
Field Details
-
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
- 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
- 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 interfacePacketListener
- 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
- Specified by:
getRegistryManager
in classClientCommonNetworkHandler
- 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
- Specified by:
onCustomPayload
in classClientCommonNetworkHandler
- 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
- 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
- Specified by:
onDynamicRegistries
in interfaceClientConfigurationPacketListener
- 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
- Specified by:
onFeatures
in interfaceClientConfigurationPacketListener
- 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
- Specified by:
onReady
in interfaceClientConfigurationPacketListener
- 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 interfaceTickablePacketListener
- 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
-