Package net.minecraft.client.multiplayer
Class ClientPacketListener
java.lang.Object
net.minecraft.client.multiplayer.ClientCommonPacketListenerImpl
net.minecraft.client.multiplayer.ClientPacketListener
- All Implemented Interfaces:
- ClientboundPacketListener,- ClientPongPacketListener,- PacketListener,- ClientCommonPacketListener,- ClientGamePacketListener,- TickablePacketListener,- IClientCommonPacketListenerExtension
public class ClientPacketListener
extends ClientCommonPacketListenerImpl
implements TickablePacketListener, ClientGamePacketListener
- 
Nested Class SummaryNested classes/interfaces inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImplClientCommonPacketListenerImpl.DeferredPacket, ClientCommonPacketListenerImpl.PackConfirmScreen
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final ClientAdvancementsprivate static final Componentprivate LocalChatSessionprivate final ChunkBatchSizeCalculatorprivate booleancom.mojang.brigadier.CommandDispatcher<SharedSuggestionProvider>private final DebugQueryHandlerprivate final FeatureFlagSetprivate final UUIDprivate static final Componentprivate final booleanprivate LastSeenMessagesTrackerprivate ClientLevelprivate ClientLevel.ClientLevelDataprivate LevelLoadStatusManagerprivate Set<ResourceKey<Level>>private final Set<PlayerInfo>private final com.mojang.authlib.GameProfileprivate static final org.slf4j.Loggerprivate MessageSignatureCacheprivate static final intprivate final PingDebugMonitorprivate final Map<UUID,PlayerInfo> private final RandomSourceprivate final RecipeManagerprivate static final Componentprivate final RegistryAccess.Frozenprivate booleanprivate intprivate intprivate SignedMessageChain.Encoderprivate final ClientSuggestionProviderprivate static final Componentprivate static final ComponentFields inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImplconnection, minecraft, postDisconnectScreen, serverBrand, serverData, telemetryManager
- 
Constructor SummaryConstructorsConstructorDescriptionClientPacketListener(Minecraft p_253924_, Connection p_253614_, CommonListenerCookie p_295121_) 
- 
Method SummaryModifier and TypeMethodDescriptionprivate voidapplyLightData(int p_194249_, int p_194250_, ClientboundLightUpdatePacketData p_194251_) private voidapplyPlayerInfoUpdate(ClientboundPlayerInfoUpdatePacket.Action p_248954_, ClientboundPlayerInfoUpdatePacket.Entry p_251310_, PlayerInfo p_251146_) voidvoidclose()private EntitycreateEntityFromPacket(ClientboundAddEntityPacket p_302232_) private voidenableChunkLight(LevelChunk p_194213_, int p_194214_, int p_194215_) private booleanprivate static ItemStackcom.mojang.brigadier.CommandDispatcher<SharedSuggestionProvider>Exposes the raw underlying connection.getId()getLevel()com.mojang.authlib.GameProfilegetPlayerInfo(String p_104939_) getPlayerInfo(UUID p_104950_) voidhandleAddEntity(ClientboundAddEntityPacket p_104958_) voidvoidhandleAddObjective(ClientboundSetObjectivePacket p_105100_) voidhandleAddOrRemoveRecipes(ClientboundRecipePacket p_105058_) voidhandleAnimate(ClientboundAnimatePacket p_104968_) voidhandleAwardStats(ClientboundAwardStatsPacket p_104970_) voidvoidvoidvoidhandleBlockEvent(ClientboundBlockEventPacket p_104978_) voidhandleBlockUpdate(ClientboundBlockUpdatePacket p_104980_) voidhandleBossUpdate(ClientboundBossEventPacket p_104982_) voidhandleBundlePacket(ClientboundBundlePacket p_265195_) voidvoidvoidvoidvoidhandleChunksBiomes(ClientboundChunksBiomesPacket p_275437_) voidhandleCommands(ClientboundCommandsPacket p_104990_) voidvoidvoidvoidvoidvoidvoidvoidhandleCustomPayload(ClientboundCustomPayloadPacket p_295727_, CustomPacketPayload p_295851_) voidhandleDamageEvent(ClientboundDamageEventPacket p_270800_) voidhandleDeleteChat(ClientboundDeleteChatPacket p_241325_) voidvoidhandleEntityEvent(ClientboundEntityEventPacket p_105010_) voidvoidhandleExplosion(ClientboundExplodePacket p_105012_) voidvoidhandleGameEvent(ClientboundGameEventPacket p_105016_) voidvoidvoidvoidhandleItemCooldown(ClientboundCooldownPacket p_105002_) voidvoidhandleLevelEvent(ClientboundLevelEventPacket p_105024_) voidvoidhandleLogin(ClientboundLoginPacket p_105030_) voidhandleLookAt(ClientboundPlayerLookAtPacket p_105054_) voidhandleMapItemData(ClientboundMapItemDataPacket p_105032_) voidvoidhandleMoveEntity(ClientboundMoveEntityPacket p_105036_) voidhandleMovePlayer(ClientboundPlayerPositionPacket p_105056_) voidhandleMoveVehicle(ClientboundMoveVehiclePacket p_105038_) voidhandleOpenBook(ClientboundOpenBookPacket p_105040_) voidhandleOpenScreen(ClientboundOpenScreenPacket p_105042_) voidvoidvoidvoidvoidhandlePlayerChat(ClientboundPlayerChatPacket p_233702_) voidvoidvoidvoidvoidvoidhandlePongResponse(ClientboundPongResponsePacket p_298645_) voidvoidvoidhandleResetScore(ClientboundResetScorePacket p_313768_) voidhandleRespawn(ClientboundRespawnPacket p_105066_) voidhandleRotateMob(ClientboundRotateHeadPacket p_105068_) voidvoidhandleServerData(ClientboundServerDataPacket p_233704_) voidvoidvoidvoidvoidvoidhandleSetCamera(ClientboundSetCameraPacket p_105076_) voidvoidvoidvoidvoidvoidvoidvoidhandleSetEquipment(ClientboundSetEquipmentPacket p_105094_) voidvoidhandleSetHealth(ClientboundSetHealthPacket p_105098_) voidvoidhandleSetScore(ClientboundSetScorePacket p_105106_) voidvoidvoidhandleSetTime(ClientboundSetTimePacket p_105108_) voidvoidhandleSoundEvent(ClientboundSoundPacket p_105114_) voidhandleStopSoundEvent(ClientboundStopSoundPacket p_105116_) voidhandleSystemChat(ClientboundSystemChatPacket p_233708_) voidvoidhandleTagQueryPacket(ClientboundTagQueryPacket p_105120_) voidvoidvoidhandleTickingState(ClientboundTickingStatePacket p_309203_) voidhandleTickingStep(ClientboundTickingStepPacket p_308901_) voidhandleTitlesClear(ClientboundClearTitlesPacket p_171765_) private voidhandleUnknownCustomPayload(CustomPacketPayload p_294389_) voidvoidvoidvoidvoidhandleUpdateTags(ClientboundUpdateTagsPacket p_294888_) private voidinitializeChatSession(ClientboundPlayerInfoUpdatePacket.Entry p_248806_, PlayerInfo p_251136_) booleanbooleanisFeatureEnabled(FeatureFlagSet p_250605_) levels()voidmarkMessageAsProcessed(PlayerChatMessage p_242356_, boolean p_242455_) private com.mojang.brigadier.ParseResults<SharedSuggestionProvider>parseCommand(String p_249982_) private voidpostAddEntitySoundInstance(Entity p_233664_) private voidprivate voidreadSectionList(int p_171735_, int p_171736_, LevelLightEngine p_171737_, LightLayer p_171738_, BitSet p_171739_, BitSet p_171740_, Iterator<byte[]> p_171741_) private voidvoidprivate voidvoidsendCommand(String p_250092_) booleansendUnsignedCommand(String p_251509_) voidvoidsetKeyPair(ProfileKeyPair p_261475_) voidsetSubtitleText(ClientboundSetSubtitleTextPacket p_171791_) voidvoidsetTitleText(ClientboundSetTitleTextPacket p_171793_) private voidstartWaitingForNewLevel(LocalPlayer p_304688_, ClientLevel p_304528_) voidtick()private voidupdateLevelChunk(int p_194199_, int p_194200_, ClientboundLevelChunkPacketData p_194201_) Methods inherited from class net.minecraft.client.multiplayer.ClientCommonPacketListenerImplcreateDisconnectScreen, fillListenerSpecificCrashDetails, getMinecraft, handleCustomPayload, handleDisconnect, handleKeepAlive, handlePing, handleResourcePackPop, handleResourcePackPush, onDisconnect, preparePackPrompt, send, sendDeferredPackets, serverBrandMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.network.ClientboundPacketListenerflowMethods inherited from interface net.minecraft.network.protocol.common.ClientCommonPacketListenerhandleCustomPayload, handleDisconnect, handleKeepAlive, handlePing, handleResourcePackPop, handleResourcePackPushMethods inherited from interface net.minecraft.network.protocol.game.ClientGamePacketListenerprotocolMethods inherited from interface net.neoforged.neoforge.common.extensions.IClientCommonPacketListenerExtensiongetMainThreadEventLoop, getMinecraft, isConnected, isConnected, isVanillaConnection, send, sendMethods inherited from interface net.minecraft.network.PacketListenerfillCrashReport, fillListenerSpecificCrashDetails, onDisconnect, shouldHandleMessage, shouldPropagateHandlingExceptions
- 
Field Details- 
LOGGERprivate static final org.slf4j.Logger LOGGER
- 
UNSECURE_SERVER_TOAST_TITLE
- 
UNSERURE_SERVER_TOAST
- 
INVALID_PACKET
- 
CHAT_VALIDATION_FAILED_ERROR
- 
RECONFIGURE_SCREEN_MESSAGE
- 
PENDING_OFFSET_THRESHOLDprivate static final int PENDING_OFFSET_THRESHOLD- See Also:
 
- 
localGameProfileprivate final com.mojang.authlib.GameProfile localGameProfile
- 
level
- 
levelData
- 
playerInfoMap
- 
listedPlayers
- 
advancements
- 
suggestionsProvider
- 
debugQueryHandler
- 
serverChunkRadiusprivate int serverChunkRadius
- 
serverSimulationDistanceprivate int serverSimulationDistance
- 
random
- 
commands
- 
recipeManager
- 
id
- 
levels
- 
registryAccess
- 
enabledFeatures
- 
chatSession
- 
signedMessageEncoder
- 
lastSeenMessages
- 
messageSignatureCache
- 
chunkBatchSizeCalculator
- 
pingDebugMonitor
- 
isModdedConnectionprivate final boolean isModdedConnection
- 
levelLoadStatusManager
- 
seenInsecureChatWarningprivate boolean seenInsecureChatWarning
- 
closedprivate volatile boolean closed
 
- 
- 
Constructor Details- 
ClientPacketListenerpublic ClientPacketListener(Minecraft p_253924_, Connection p_253614_, CommonListenerCookie p_295121_) 
 
- 
- 
Method Details- 
getSuggestionsProvider
- 
closepublic void close()
- 
clearLevelpublic void clearLevel()
- 
getRecipeManager
- 
handleLogin- Specified by:
- handleLoginin interface- ClientGamePacketListener
 
- 
handleAddEntity- Specified by:
- handleAddEntityin interface- ClientGamePacketListener
 
- 
createEntityFromPacket
- 
postAddEntitySoundInstance
- 
handleAddExperienceOrb- Specified by:
- handleAddExperienceOrbin interface- ClientGamePacketListener
 
- 
handleSetEntityMotion- Specified by:
- handleSetEntityMotionin interface- ClientGamePacketListener
 
- 
handleSetEntityData- Specified by:
- handleSetEntityDatain interface- ClientGamePacketListener
 
- 
handleTeleportEntity- Specified by:
- handleTeleportEntityin interface- ClientGamePacketListener
 
- 
handleTickingState- Specified by:
- handleTickingStatein interface- ClientGamePacketListener
 
- 
handleTickingStep- Specified by:
- handleTickingStepin interface- ClientGamePacketListener
 
- 
handleSetCarriedItem- Specified by:
- handleSetCarriedItemin interface- ClientGamePacketListener
 
- 
handleMoveEntity- Specified by:
- handleMoveEntityin interface- ClientGamePacketListener
 
- 
handleRotateMob- Specified by:
- handleRotateMobin interface- ClientGamePacketListener
 
- 
handleRemoveEntities- Specified by:
- handleRemoveEntitiesin interface- ClientGamePacketListener
 
- 
handleMovePlayer- Specified by:
- handleMovePlayerin interface- ClientGamePacketListener
 
- 
handleChunkBlocksUpdate- Specified by:
- handleChunkBlocksUpdatein interface- ClientGamePacketListener
 
- 
handleLevelChunkWithLight- Specified by:
- handleLevelChunkWithLightin interface- ClientGamePacketListener
 
- 
handleChunksBiomes- Specified by:
- handleChunksBiomesin interface- ClientGamePacketListener
 
- 
updateLevelChunkprivate void updateLevelChunk(int p_194199_, int p_194200_, ClientboundLevelChunkPacketData p_194201_) 
- 
enableChunkLight
- 
handleForgetLevelChunk- Specified by:
- handleForgetLevelChunkin interface- ClientGamePacketListener
 
- 
queueLightRemoval
- 
handleBlockUpdate- Specified by:
- handleBlockUpdatein interface- ClientGamePacketListener
 
- 
handleConfigurationStart- Specified by:
- handleConfigurationStartin interface- ClientGamePacketListener
 
- 
handleTakeItemEntity- Specified by:
- handleTakeItemEntityin interface- ClientGamePacketListener
 
- 
handleSystemChat- Specified by:
- handleSystemChatin interface- ClientGamePacketListener
 
- 
handlePlayerChat- Specified by:
- handlePlayerChatin interface- ClientGamePacketListener
 
- 
handleDisguisedChat- Specified by:
- handleDisguisedChatin interface- ClientGamePacketListener
 
- 
handleDeleteChat- Specified by:
- handleDeleteChatin interface- ClientGamePacketListener
 
- 
handleAnimate- Specified by:
- handleAnimatein interface- ClientGamePacketListener
 
- 
handleHurtAnimation- Specified by:
- handleHurtAnimationin interface- ClientGamePacketListener
 
- 
handleSetTime- Specified by:
- handleSetTimein interface- ClientGamePacketListener
 
- 
handleSetSpawn- Specified by:
- handleSetSpawnin interface- ClientGamePacketListener
 
- 
handleSetEntityPassengersPacket- Specified by:
- handleSetEntityPassengersPacketin interface- ClientGamePacketListener
 
- 
handleEntityLinkPacket- Specified by:
- handleEntityLinkPacketin interface- ClientGamePacketListener
 
- 
findTotem
- 
handleEntityEvent- Specified by:
- handleEntityEventin interface- ClientGamePacketListener
 
- 
handleDamageEvent- Specified by:
- handleDamageEventin interface- ClientGamePacketListener
 
- 
handleSetHealth- Specified by:
- handleSetHealthin interface- ClientGamePacketListener
 
- 
handleSetExperience- Specified by:
- handleSetExperiencein interface- ClientGamePacketListener
 
- 
handleRespawn- Specified by:
- handleRespawnin interface- ClientGamePacketListener
 
- 
handleExplosion- Specified by:
- handleExplosionin interface- ClientGamePacketListener
 
- 
handleHorseScreenOpen- Specified by:
- handleHorseScreenOpenin interface- ClientGamePacketListener
 
- 
handleOpenScreen- Specified by:
- handleOpenScreenin interface- ClientGamePacketListener
 
- 
handleContainerSetSlot- Specified by:
- handleContainerSetSlotin interface- ClientGamePacketListener
 
- 
handleContainerContent- Specified by:
- handleContainerContentin interface- ClientGamePacketListener
 
- 
handleOpenSignEditor- Specified by:
- handleOpenSignEditorin interface- ClientGamePacketListener
 
- 
handleBlockEntityData- Specified by:
- handleBlockEntityDatain interface- ClientGamePacketListener
 
- 
handleContainerSetData- Specified by:
- handleContainerSetDatain interface- ClientGamePacketListener
 
- 
handleSetEquipment- Specified by:
- handleSetEquipmentin interface- ClientGamePacketListener
 
- 
handleContainerClose- Specified by:
- handleContainerClosein interface- ClientGamePacketListener
 
- 
handleBlockEvent- Specified by:
- handleBlockEventin interface- ClientGamePacketListener
 
- 
handleBlockDestruction- Specified by:
- handleBlockDestructionin interface- ClientGamePacketListener
 
- 
handleGameEvent- Specified by:
- handleGameEventin interface- ClientGamePacketListener
 
- 
startWaitingForNewLevel
- 
handleMapItemData- Specified by:
- handleMapItemDatain interface- ClientGamePacketListener
 
- 
handleLevelEvent- Specified by:
- handleLevelEventin interface- ClientGamePacketListener
 
- 
handleUpdateAdvancementsPacket- Specified by:
- handleUpdateAdvancementsPacketin interface- ClientGamePacketListener
 
- 
handleSelectAdvancementsTab- Specified by:
- handleSelectAdvancementsTabin interface- ClientGamePacketListener
 
- 
handleCommands- Specified by:
- handleCommandsin interface- ClientGamePacketListener
 
- 
handleStopSoundEvent- Specified by:
- handleStopSoundEventin interface- ClientGamePacketListener
 
- 
handleCommandSuggestions- Specified by:
- handleCommandSuggestionsin interface- ClientGamePacketListener
 
- 
handleUpdateRecipes- Specified by:
- handleUpdateRecipesin interface- ClientGamePacketListener
 
- 
handleLookAt- Specified by:
- handleLookAtin interface- ClientGamePacketListener
 
- 
handleTagQueryPacket- Specified by:
- handleTagQueryPacketin interface- ClientGamePacketListener
 
- 
handleAwardStats- Specified by:
- handleAwardStatsin interface- ClientGamePacketListener
 
- 
handleAddOrRemoveRecipes- Specified by:
- handleAddOrRemoveRecipesin interface- ClientGamePacketListener
 
- 
handleUpdateMobEffect- Specified by:
- handleUpdateMobEffectin interface- ClientGamePacketListener
 
- 
handleUpdateTags- Specified by:
- handleUpdateTagsin interface- ClientCommonPacketListener
- Overrides:
- handleUpdateTagsin class- ClientCommonPacketListenerImpl
 
- 
refreshTagDependentDataprivate void refreshTagDependentData()
- 
handlePlayerCombatEnd- Specified by:
- handlePlayerCombatEndin interface- ClientGamePacketListener
 
- 
handlePlayerCombatEnter- Specified by:
- handlePlayerCombatEnterin interface- ClientGamePacketListener
 
- 
handlePlayerCombatKill- Specified by:
- handlePlayerCombatKillin interface- ClientGamePacketListener
 
- 
handleChangeDifficulty- Specified by:
- handleChangeDifficultyin interface- ClientGamePacketListener
 
- 
handleSetCamera- Specified by:
- handleSetCamerain interface- ClientGamePacketListener
 
- 
handleInitializeBorder- Specified by:
- handleInitializeBorderin interface- ClientGamePacketListener
 
- 
handleSetBorderCenter- Specified by:
- handleSetBorderCenterin interface- ClientGamePacketListener
 
- 
handleSetBorderLerpSize- Specified by:
- handleSetBorderLerpSizein interface- ClientGamePacketListener
 
- 
handleSetBorderSize- Specified by:
- handleSetBorderSizein interface- ClientGamePacketListener
 
- 
handleSetBorderWarningDistance- Specified by:
- handleSetBorderWarningDistancein interface- ClientGamePacketListener
 
- 
handleSetBorderWarningDelay- Specified by:
- handleSetBorderWarningDelayin interface- ClientGamePacketListener
 
- 
handleTitlesClear- Specified by:
- handleTitlesClearin interface- ClientGamePacketListener
 
- 
handleServerData- Specified by:
- handleServerDatain interface- ClientGamePacketListener
 
- 
handleCustomChatCompletions- Specified by:
- handleCustomChatCompletionsin interface- ClientGamePacketListener
 
- 
setActionBarText- Specified by:
- setActionBarTextin interface- ClientGamePacketListener
 
- 
setTitleText- Specified by:
- setTitleTextin interface- ClientGamePacketListener
 
- 
setSubtitleText- Specified by:
- setSubtitleTextin interface- ClientGamePacketListener
 
- 
setTitlesAnimation- Specified by:
- setTitlesAnimationin interface- ClientGamePacketListener
 
- 
handleTabListCustomisation- Specified by:
- handleTabListCustomisationin interface- ClientGamePacketListener
 
- 
handleRemoveMobEffect- Specified by:
- handleRemoveMobEffectin interface- ClientGamePacketListener
 
- 
handlePlayerInfoRemove- Specified by:
- handlePlayerInfoRemovein interface- ClientGamePacketListener
 
- 
handlePlayerInfoUpdate- Specified by:
- handlePlayerInfoUpdatein interface- ClientGamePacketListener
 
- 
applyPlayerInfoUpdateprivate void applyPlayerInfoUpdate(ClientboundPlayerInfoUpdatePacket.Action p_248954_, ClientboundPlayerInfoUpdatePacket.Entry p_251310_, PlayerInfo p_251146_) 
- 
initializeChatSessionprivate void initializeChatSession(ClientboundPlayerInfoUpdatePacket.Entry p_248806_, PlayerInfo p_251136_) 
- 
enforcesSecureChatprivate boolean enforcesSecureChat()
- 
handlePlayerAbilities- Specified by:
- handlePlayerAbilitiesin interface- ClientGamePacketListener
 
- 
handleSoundEvent- Specified by:
- handleSoundEventin interface- ClientGamePacketListener
 
- 
handleSoundEntityEvent- Specified by:
- handleSoundEntityEventin interface- ClientGamePacketListener
 
- 
handleBossUpdate- Specified by:
- handleBossUpdatein interface- ClientGamePacketListener
 
- 
handleItemCooldown- Specified by:
- handleItemCooldownin interface- ClientGamePacketListener
 
- 
handleMoveVehicle- Specified by:
- handleMoveVehiclein interface- ClientGamePacketListener
 
- 
handleOpenBook- Specified by:
- handleOpenBookin interface- ClientGamePacketListener
 
- 
handleCustomPayloadpublic void handleCustomPayload(ClientboundCustomPayloadPacket p_295727_, CustomPacketPayload p_295851_) - Specified by:
- handleCustomPayloadin class- ClientCommonPacketListenerImpl
 
- 
handleUnknownCustomPayload
- 
handleAddObjective- Specified by:
- handleAddObjectivein interface- ClientGamePacketListener
 
- 
handleSetScore- Specified by:
- handleSetScorein interface- ClientGamePacketListener
 
- 
handleResetScore- Specified by:
- handleResetScorein interface- ClientGamePacketListener
 
- 
handleSetDisplayObjective- Specified by:
- handleSetDisplayObjectivein interface- ClientGamePacketListener
 
- 
handleSetPlayerTeamPacket- Specified by:
- handleSetPlayerTeamPacketin interface- ClientGamePacketListener
 
- 
handleParticleEvent- Specified by:
- handleParticleEventin interface- ClientGamePacketListener
 
- 
handleUpdateAttributes- Specified by:
- handleUpdateAttributesin interface- ClientGamePacketListener
 
- 
handlePlaceRecipe- Specified by:
- handlePlaceRecipein interface- ClientGamePacketListener
 
- 
handleLightUpdatePacket- Specified by:
- handleLightUpdatePacketin interface- ClientGamePacketListener
 
- 
applyLightDataprivate void applyLightData(int p_194249_, int p_194250_, ClientboundLightUpdatePacketData p_194251_) 
- 
handleMerchantOffers- Specified by:
- handleMerchantOffersin interface- ClientGamePacketListener
 
- 
handleSetChunkCacheRadius- Specified by:
- handleSetChunkCacheRadiusin interface- ClientGamePacketListener
 
- 
handleSetSimulationDistance- Specified by:
- handleSetSimulationDistancein interface- ClientGamePacketListener
 
- 
handleSetChunkCacheCenter- Specified by:
- handleSetChunkCacheCenterin interface- ClientGamePacketListener
 
- 
handleBlockChangedAck- Specified by:
- handleBlockChangedAckin interface- ClientGamePacketListener
 
- 
handleBundlePacket- Specified by:
- handleBundlePacketin interface- ClientGamePacketListener
 
- 
handleChunkBatchStart- Specified by:
- handleChunkBatchStartin interface- ClientGamePacketListener
 
- 
handleChunkBatchFinished- Specified by:
- handleChunkBatchFinishedin interface- ClientGamePacketListener
 
- 
handlePongResponse- Specified by:
- handlePongResponsein interface- ClientPongPacketListener
 
- 
readSectionListprivate void readSectionList(int p_171735_, int p_171736_, LevelLightEngine p_171737_, LightLayer p_171738_, BitSet p_171739_, BitSet p_171740_, Iterator<byte[]> p_171741_) 
- 
getConnectionDescription copied from interface:IClientCommonPacketListenerExtensionExposes the raw underlying connection.- Specified by:
- getConnectionin interface- IClientCommonPacketListenerExtension
- Overrides:
- getConnectionin class- ClientCommonPacketListenerImpl
- Returns:
- The raw underlying connection.
 
- 
isAcceptingMessagespublic boolean isAcceptingMessages()- Specified by:
- isAcceptingMessagesin interface- PacketListener
 
- 
getListedOnlinePlayers
- 
getOnlinePlayers
- 
getOnlinePlayerIds
- 
getPlayerInfo
- 
getPlayerInfo
- 
getLocalGameProfilepublic com.mojang.authlib.GameProfile getLocalGameProfile()
- 
getAdvancements
- 
getCommands
- 
getLevel
- 
getDebugQueryHandler
- 
getId
- 
levels
- 
registryAccess- Specified by:
- registryAccessin class- ClientCommonPacketListenerImpl
 
- 
markMessageAsProcessed
- 
sendChatAcknowledgementprivate void sendChatAcknowledgement()
- 
sendChat
- 
sendCommand
- 
sendUnsignedCommand
- 
parseCommand
- 
tickpublic void tick()- Specified by:
- tickin interface- TickablePacketListener
 
- 
setKeyPair
- 
getServerData
- 
enabledFeatures
- 
isFeatureEnabled
 
-