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,ClientCookiePacketListener,TickablePacketListener
public class ClientConfigurationPacketListenerImpl
extends ClientCommonPacketListenerImpl
implements ClientConfigurationPacketListener, TickablePacketListener
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
ClientCommonPacketListenerImpl.DeferredPacket, ClientCommonPacketListenerImpl.PackConfirmScreen -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ChatComponent.Stateprivate FeatureFlagSetprivate KnownPacksManagerprivate final com.mojang.authlib.GameProfileprivate static final org.slf4j.Loggerprivate final RegistryAccess.Frozenprivate final RegistryDataCollectorFields inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
connection, customReportDetails, isTransferring, minecraft, postDisconnectScreen, serverBrand, serverCookies, serverData, serverLinks, strictErrorHandling, 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_) voidhandleResetChat(ClientboundResetChatPacket p_328730_) voidprivate voidhandleUnknownCustomPayload(CustomPacketPayload p_300719_) voidhandleUpdateTags(ClientboundUpdateTagsPacket p_335168_) booleanvoidonDisconnect(DisconnectionDetails p_343449_) private <T> TrunWithResources(Function<ResourceProvider, T> p_330303_) voidtick()Methods inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
createDisconnectionInfo, createDisconnectScreen, fillListenerSpecificCrashDetails, handleCustomPayload, handleCustomReportDetails, handleDisconnect, handleKeepAlive, handlePing, handleRequestCookie, handleResourcePackPop, handleResourcePackPush, handleServerLinks, handleStoreCookie, handleTransfer, onPacketError, preparePackPrompt, send, sendDeferredPackets, serverBrand, shouldHandleMessageMethods 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, handleCustomReportDetails, handleDisconnect, handleKeepAlive, handlePing, handleResourcePackPop, handleResourcePackPush, handleServerLinks, handleStoreCookie, handleTransferMethods inherited from interface net.minecraft.network.protocol.configuration.ClientConfigurationPacketListener
protocolMethods inherited from interface net.minecraft.network.protocol.cookie.ClientCookiePacketListener
handleRequestCookieMethods inherited from interface net.minecraft.network.PacketListener
createDisconnectionInfo, fillCrashReport, fillListenerSpecificCrashDetails, onPacketError, shouldHandleMessage
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
localGameProfile
private final com.mojang.authlib.GameProfile localGameProfile -
enabledFeatures
-
receivedRegistries
-
registryDataCollector
-
knownPacks
-
chatState
-
-
Constructor Details
-
ClientConfigurationPacketListenerImpl
public ClientConfigurationPacketListenerImpl(Minecraft p_301278_, Connection p_299257_, CommonListenerCookie p_300907_)
-
-
Method Details
-
isAcceptingMessages
public boolean isAcceptingMessages()- Specified by:
isAcceptingMessagesin interfacePacketListener
-
handleCustomPayload
- Specified by:
handleCustomPayloadin classClientCommonPacketListenerImpl
-
handleUnknownCustomPayload
-
handleRegistryData
- Specified by:
handleRegistryDatain interfaceClientConfigurationPacketListener
-
handleUpdateTags
- Specified by:
handleUpdateTagsin interfaceClientCommonPacketListener
-
handleEnabledFeatures
- Specified by:
handleEnabledFeaturesin interfaceClientConfigurationPacketListener
-
handleSelectKnownPacks
- Specified by:
handleSelectKnownPacksin interfaceClientConfigurationPacketListener
-
handleResetChat
- Specified by:
handleResetChatin interfaceClientConfigurationPacketListener
-
runWithResources
-
handleConfigurationFinished
- Specified by:
handleConfigurationFinishedin interfaceClientConfigurationPacketListener
-
tick
public void tick()- Specified by:
tickin interfaceTickablePacketListener
-
onDisconnect
- Specified by:
onDisconnectin interfacePacketListener- Overrides:
onDisconnectin classClientCommonPacketListenerImpl
-