Package net.minecraft.client.multiplayer
Class ClientConfigurationPacketListenerImpl
java.lang.Object
net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
net.minecraft.client.multiplayer.ClientConfigurationPacketListenerImpl
- All Implemented Interfaces:
ClientboundPacketListener,PacketListener,ClientCommonPacketListener,ClientConfigurationPacketListener,TickablePacketListener
public class ClientConfigurationPacketListenerImpl
extends ClientCommonPacketListenerImpl
implements TickablePacketListener, ClientConfigurationPacketListener
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
ClientCommonPacketListenerImpl.DeferredPacket, ClientCommonPacketListenerImpl.PackConfirmScreen -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate FeatureFlagSetprivate final com.mojang.authlib.GameProfileprivate static final org.slf4j.Loggerprivate RegistryAccess.FrozenFields inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
connection, minecraft, postDisconnectScreen, serverBrand, serverData, telemetryManager -
Constructor Summary
ConstructorsConstructorDescriptionClientConfigurationPacketListenerImpl(Minecraft p_301278_, Connection p_299257_, CommonListenerCookie p_300907_) -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected voidhandleCustomPayload(CustomPacketPayload p_301281_) voidvoidhandleRegistryData(ClientboundRegistryDataPacket p_299218_) private voidhandleUnknownCustomPayload(CustomPacketPayload p_300719_) booleanvoidonDisconnect(Component p_311878_) protected RegistryAccess.Frozenvoidtick()Methods inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
createDisconnectScreen, fillListenerSpecificCrashDetails, handleCustomPayload, handleDisconnect, handleKeepAlive, handlePing, handleResourcePackPop, handleResourcePackPush, handleUpdateTags, preparePackPrompt, send, sendDeferredPackets, serverBrandMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.ClientboundPacketListener
flowMethods inherited from interface net.minecraft.network.protocol.common.ClientCommonPacketListener
handleCustomPayload, handleDisconnect, handleKeepAlive, handlePing, handleResourcePackPop, handleResourcePackPush, handleUpdateTagsMethods inherited from interface net.minecraft.network.protocol.configuration.ClientConfigurationPacketListener
protocolMethods inherited from interface net.minecraft.network.PacketListener
fillCrashReport, fillListenerSpecificCrashDetails, shouldHandleMessage, shouldPropagateHandlingExceptions
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
localGameProfile
private final com.mojang.authlib.GameProfile localGameProfile -
receivedRegistries
-
enabledFeatures
-
-
Constructor Details
-
ClientConfigurationPacketListenerImpl
public ClientConfigurationPacketListenerImpl(Minecraft p_301278_, Connection p_299257_, CommonListenerCookie p_300907_)
-
-
Method Details
-
isAcceptingMessages
public boolean isAcceptingMessages()- Specified by:
isAcceptingMessagesin interfacePacketListener
-
registryAccess
- Specified by:
registryAccessin classClientCommonPacketListenerImpl
-
handleCustomPayload
- Specified by:
handleCustomPayloadin classClientCommonPacketListenerImpl
-
handleUnknownCustomPayload
-
handleRegistryData
- Specified by:
handleRegistryDatain interfaceClientConfigurationPacketListener
-
handleEnabledFeatures
- Specified by:
handleEnabledFeaturesin interfaceClientConfigurationPacketListener
-
handleConfigurationFinished
- Specified by:
handleConfigurationFinishedin interfaceClientConfigurationPacketListener
-
tick
public void tick()- Specified by:
tickin interfaceTickablePacketListener
-
onDisconnect
- Specified by:
onDisconnectin interfacePacketListener- Overrides:
onDisconnectin classClientCommonPacketListenerImpl
-