History - net.minecraft.server.network.ServerPlayNetworkHandler

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Cooldown: chatSpamThrottler, field_54291, messageCooldown

Cooldown: chatSpamThrottler, field_54291, chatMessageCooldown

Cooldown: commandSpamThrottler, field_1_7094, commandCooldown

Constructors

Methods

void (): detectRateSpam, method_43669, checkForSpam

void (SpectateEntityC2SPacket): handleSpectateEntity, method_1_1116, onSpectateEntity

void (SpectateEntityC2SPacket): handleSpectatorAction, method_1_1116, onSpectateEntity

void (Cooldown): detectRateSpam, method_43669, checkForSpam

void (): detectCommandRateSpam, method_1_6320, checkForCommandSpam

void (): detectChatRateSpam, method_1_6319, checkForChatSpam

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

int: MAX_COMMAND_SUGGESTIONS, field_49778, field_49778

int: MAX_COMMAND_SUGGESTIONS, field_49778, MAX_SUGGESTIONS

Constructors

Methods

void (PublicPlayerSession): lambda$resetPlayerChatState$12, method_54439, method_54439

void (PublicPlayerSession): lambda$resetPlayerChatState$0, method_54439, method_54439

void (UpdateSignC2SPacket, List): lambda$handleSignUpdate$11, method_31285, method_31285

void (UpdateSignC2SPacket, List): lambda$handleSignUpdate$0, method_31285, method_31285

ServerCommandSource (SignedCommandArguments, ServerCommandSource): lambda$performSignedChatCommand$10, method_45002, method_45002

ServerCommandSource (SignedCommandArguments, ServerCommandSource): lambda$performSignedChatCommand$0, method_45002, method_45002

void (ChatCommandSignedC2SPacket, Optional): lambda$handleSignedChatCommand$9, method_58588, method_58588

void (ChatCommandSignedC2SPacket, Optional): lambda$handleSignedChatCommand$0, method_58588, method_58588

void (CommandExecutionC2SPacket): lambda$handleChatCommand$8, method_44356, method_44356

void (CommandExecutionC2SPacket): lambda$handleChatCommand$0, method_44356, method_44356

void (ChatMessageC2SPacket, Optional): lambda$handleChat$7, method_44900, method_44900

void (ChatMessageC2SPacket, Optional): lambda$handleChat$0, method_44900, method_44900

void (SignedMessage, Text, FilteredMessage): lambda$handleChat$6, method_45064, method_45064

void (SignedMessage, Text, FilteredMessage): lambda$handleChat$1, method_45064, method_45064

RawFilteredPair (FilteredMessage): lambda$signBook$5, method_33799, method_33799

RawFilteredPair (FilteredMessage): lambda$signBook$0, method_33799, method_33799

void (int, List): lambda$handleEditBook$4, method_31274, method_31274

void (int, List): lambda$handleEditBook$1, method_31274, method_31274

void (int, List): lambda$handleEditBook$3, method_31283, method_31283

void (int, List): lambda$handleEditBook$0, method_31283, method_31283

Optional (RegistryKey): lambda$handleTestInstanceBlockAction$2, method_66589, method_66589

Optional (RegistryKey): lambda$handleTestInstanceBlockAction$0, method_66589, method_66589

void (RequestCommandCompletionsC2SPacket, com.mojang.brigadier.suggestion.Suggestions): lambda$handleCustomCommandSuggestions$1, method_14365, method_14365

void (RequestCommandCompletionsC2SPacket, com.mojang.brigadier.suggestion.Suggestions): lambda$handleCustomCommandSuggestions$0, method_14365, method_14365

void (SetGameRuleC2SPacket): handleSetGameRule, method_1_1115, onSetGameRule

<T> void (GameRules, GameRule<T>, String): setGameRuleValue, method_1_1100, setGameRule

<T> void (GameRule<T>, T): broadcastGameRuleChangeToOperators, method_1_1093, sendSetGameRuleFeedback

void (AttackC2SPacket): handleAttack, method_1_1114, onAttack

void (SpectateEntityC2SPacket): handleSpectateEntity, method_1_1116, onSpectateEntity

void (): sendGameRuleValues, method_1_1099, sendGameRuleValues

<T> void (GameRules, Map<RegistryKey<GameRule<?>>, String>, GameRule<T>): addGameRuleValue, method_1_1092, serializeGameRuleValue

void (Map, GameRule, GameRules, RegistryKey): lambda$addGameRuleValue$0, method_1_1094, method_1_1094

void (GameRules, Map, GameRule): lambda$sendGameRuleValues$0, method_1_1097, method_1_1097

void (Text, ServerPlayerEntity): lambda$broadcastGameRuleChangeToOperators$1, method_1_1096, method_1_1096

boolean (PlayerManager, ServerPlayerEntity): lambda$broadcastGameRuleChangeToOperators$0, method_1_1095, method_1_1095

void (GameRules, GameRule, Object): lambda$setGameRuleValue$0, method_1_1098, method_1_1098

1.21.11_unobfuscated

Names

net.minecraft.server.network.ServerGamePacketListenerImpl

net.minecraft.class_3244

net.minecraft.server.network.ServerPlayNetworkHandler

Fields

org.slf4j.Logger: LOGGER, field_14121, LOGGER

int: NO_BLOCK_UPDATES_TO_ACK, field_37281, DEFAULT_SEQUENCE

int: TRACKED_MESSAGE_DISCONNECT_THRESHOLD, field_39989, MAX_PENDING_ACKNOWLEDGMENTS

int: MAXIMUM_FLYING_TICKS, field_49027, field_49027

int: ATTACK_INDICATOR_TOLERANCE_TICKS, field_63175, field_63175

int: CLIENT_LOADED_TIMEOUT_TIME, field_64603, field_64603

Text: CHAT_VALIDATION_FAILED, field_39990, CHAT_VALIDATION_FAILED_TEXT

Text: INVALID_COMMAND_SIGNATURE, field_50089, INVALID_COMMAND_SIGNATURE_TEXT

int: MAX_COMMAND_SUGGESTIONS, field_49778, field_49778

ServerPlayerEntity: player, field_14140, player

ChunkDataSender: chunkSender, field_45026, chunkDataSender

int: tickCount, field_14118, ticks

int: ackBlockChangesUpTo, field_37282, sequence

Cooldown: chatSpamThrottler, field_54291, messageCooldown

Cooldown: dropSpamThrottler, field_54292, creativeItemDropCooldown

double: firstGoodX, field_14130, lastTickX

double: firstGoodY, field_14146, lastTickY

double: firstGoodZ, field_14128, lastTickZ

double: lastGoodX, field_14145, updatedX

double: lastGoodY, field_14126, updatedY

double: lastGoodZ, field_14144, updatedZ

Entity: lastVehicle, field_14147, topmostRiddenEntity

double: vehicleFirstGoodX, field_14143, lastTickRiddenX

double: vehicleFirstGoodY, field_14124, lastTickRiddenY

double: vehicleFirstGoodZ, field_14142, lastTickRiddenZ

double: vehicleLastGoodX, field_14122, updatedRiddenX

double: vehicleLastGoodY, field_14141, updatedRiddenY

double: vehicleLastGoodZ, field_14120, updatedRiddenZ

Vec3d: awaitingPositionFromClient, field_14119, requestedTeleportPos

int: awaitingTeleport, field_14123, requestedTeleportId

int: awaitingTeleportTime, field_14139, lastTeleportCheckTicks

boolean: clientIsFloating, field_14131, floating

int: aboveGroundTickCount, field_14138, floatingTicks

boolean: clientVehicleIsFloating, field_14129, vehicleFloating

int: aboveGroundVehicleTickCount, field_14137, vehicleFloatingTicks

int: receivedMovePacketCount, field_14117, movePacketsCount

int: knownMovePacketCount, field_14135, lastTickMovePacketsCount

boolean: receivedMovementThisTick, field_52364, movedThisTick

PublicPlayerSession: chatSession, field_40720, session

MessageChain$Unpacker: signedMessageDecoder, field_39805, messageUnpacker

AcknowledgmentValidator: lastSeenMessages, field_39825, acknowledgmentValidator

int: nextChatIndex, field_58079, globalChatMessageIndex

MessageSignatureStorage: messageSignatureCache, field_39987, signatureStorage

MessageChainTaskQueue: chatMessageChain, field_39826, messageChainTaskQueue

boolean: waitingForSwitchToConfig, field_45025, requestedReconfiguration

boolean: waitingForRespawn, field_64601, dead

int: clientLoadedTimeoutTimer, field_64602, remainingLoadingTicks

Constructors

(MinecraftServer, ClientConnection, ServerPlayerEntity, ConnectedClientData)

Methods

void (): tick, method_18784, tick

boolean (): tickPlayer, method_73086, tickMovement

int (Entity): getMaximumFlyingTicks, method_56922, getMaxAllowedFloatingTicks

void (): resetFlyingTicks, method_75005, resetFloatingTicks

void (): resetPosition, method_14372, syncWithPlayerPosition

boolean (): isAcceptingMessages, method_48106, isConnectionOpen

boolean (Packet<?>): shouldHandleMessage, method_52413, accepts

com.mojang.authlib.GameProfile (): playerProfile, method_52403, getProfile

<T, R> CompletableFuture<R> (T, BiFunction<TextStream, T, CompletableFuture<R>>): filterTextPacket, method_31275, filterText

CompletableFuture<FilteredMessage> (String): filterTextPacket, method_31277, filterText

CompletableFuture<List<FilteredMessage>> (List<String>): filterTextPacket, method_31279, filterTexts

void (PlayerInputC2SPacket): handlePlayerInput, method_12067, onPlayerInput

boolean (double, double, double, float, float): containsInvalidValues, method_14371, isMovementInvalid

double (double): clampHorizontal, method_34882, clampHorizontal

double (double): clampVertical, method_34883, clampVertical

void (VehicleMoveC2SPacket): handleMoveVehicle, method_12078, onVehicleMove

boolean (Entity): noBlocksAround, method_29780, isEntityOnAir

void (TeleportConfirmC2SPacket): handleAcceptTeleportPacket, method_12050, onTeleportConfirm

void (PlayerLoadedC2SPacket): handleAcceptPlayerLoad, method_65306, onPlayerLoaded

void (RecipeBookDataC2SPacket): handleRecipeBookSeenRecipePacket, method_12047, onRecipeBookData

void (BundleItemSelectedC2SPacket): handleBundleItemSelectedPacket, method_61220, onBundleItemSelected

void (RecipeCategoryOptionsC2SPacket): handleRecipeBookChangeSettingsPacket, method_30303, onRecipeCategoryOptions

void (AdvancementTabC2SPacket): handleSeenAdvancements, method_12058, onAdvancementTab

void (RequestCommandCompletionsC2SPacket): handleCustomCommandSuggestions, method_12059, onRequestCommandCompletions

void (UpdateCommandBlockC2SPacket): handleSetCommandBlock, method_12077, onUpdateCommandBlock

void (UpdateCommandBlockMinecartC2SPacket): handleSetCommandMinecart, method_12049, onUpdateCommandBlockMinecart

void (PickItemFromBlockC2SPacket): handlePickItemFromBlock, method_65085, onPickItemFromBlock

void (BlockState, ServerWorld, BlockPos, ItemStack): addBlockDataToItem, method_65099, copyBlockDataToStack

void (PickItemFromEntityC2SPacket): handlePickItemFromEntity, method_12084, onPickItemFromEntity

void (ItemStack): tryPickItem, method_65098, onPickItem

void (RenameItemC2SPacket): handleRenameItem, method_12060, onRenameItem

void (UpdateBeaconC2SPacket): handleSetBeaconPacket, method_12057, onUpdateBeacon

void (UpdateStructureBlockC2SPacket): handleSetStructureBlock, method_12051, onUpdateStructureBlock

void (SetTestBlockC2SPacket): handleSetTestBlock, method_66581, onSetTestBlock

void (TestInstanceBlockActionC2SPacket): handleTestInstanceBlockAction, method_66582, onTestInstanceBlockAction

void (UpdateJigsawC2SPacket): handleSetJigsawBlock, method_16383, onUpdateJigsaw

void (JigsawGeneratingC2SPacket): handleJigsawGenerate, method_27273, onJigsawGenerating

void (SelectMerchantTradeC2SPacket): handleSelectTrade, method_12080, onSelectMerchantTrade

void (BookUpdateC2SPacket): handleEditBook, method_12053, onBookUpdate

void (List<FilteredMessage>, int): updateBookContents, method_31278, updateBookContent

void (FilteredMessage, List<FilteredMessage>, int): signBook, method_31276, addBook

RawFilteredPair<String> (FilteredMessage): filterableFromOutgoing, method_57142, toRawFilteredPair

void (QueryEntityNbtC2SPacket): handleEntityTagQuery, method_12074, onQueryEntityNbt

void (SlotChangedStateC2SPacket): handleContainerSlotStateChanged, method_54436, onSlotChangedState

void (QueryBlockNbtC2SPacket): handleBlockEntityTagQuery, method_12072, onQueryBlockNbt

void (PlayerMoveC2SPacket): handleMovePlayer, method_12063, onPlayerMove

boolean (boolean): shouldCheckPlayerMovement, method_64962, shouldCheckMovement

boolean (): updateAwaitingTeleport, method_60947, handlePendingTeleport

boolean (WorldView, Entity, Box, double, double, double): isEntityCollidingWithAnythingNew, method_20630, isEntityNotCollidingWithBlocks

void (double, double, double, float, float): teleport, method_14363, requestTeleport

void (EntityPosition, Set<PositionFlag>): teleport, method_14360, requestTeleport

void (PlayerActionC2SPacket): handlePlayerAction, method_12066, onPlayerAction

boolean (ServerPlayerEntity, ItemStack): wasBlockPlacementAttempt, method_27913, canPlace

void (PlayerInteractBlockC2SPacket): handleUseItemOn, method_12046, onPlayerInteractBlock

void (PlayerInteractItemC2SPacket): handleUseItem, method_12065, onPlayerInteractItem

void (SpectatorTeleportC2SPacket): handleTeleportToEntityPacket, method_12073, onSpectatorTeleport

void (BoatPaddleStateC2SPacket): handlePaddleBoat, method_12064, onBoatPaddleState

void (DisconnectionInfo): onDisconnect, method_10839, onDisconnected

void (): removePlayerFromWorld, method_52415, cleanUp

void (int): ackBlockChangesUpTo, method_41255, updateSequence

void (UpdateSelectedSlotC2SPacket): handleSetCarriedItem, method_12056, onUpdateSelectedSlot

void (ChatMessageC2SPacket): handleChat, method_12048, onChatMessage

void (CommandExecutionC2SPacket): handleChatCommand, method_43667, onCommandExecution

void (String): performUnsignedChatCommand, method_58590, executeCommand

void (ChatCommandSignedC2SPacket): handleSignedChatCommand, method_58580, onChatCommandSigned

void (ChatCommandSignedC2SPacket, LastSeenMessageList): performSignedChatCommand, method_45010, handleCommandExecution

void (MessageChain$MessageChainException): handleMessageDecodeFailure, method_45171, handleMessageChainException

<S> Map<String, SignedMessage> (ChatCommandSignedC2SPacket, SignedArgumentList<S>, LastSeenMessageList): collectSignedArguments, method_45006, collectArgumentMessages

<S> Map<String, SignedMessage> (List<SignedArgumentList$ParsedArgument<S>>): collectUnsignedArguments, method_58591, toUnsignedSignatures

<S> MessageChain$MessageChainException (String, List<ArgumentSignatureDataMap$Entry>, List<SignedArgumentList$ParsedArgument<S>>): createSignedArgumentMismatchException, method_58589, createInvalidCommandSignatureException

com.mojang.brigadier.ParseResults<ServerCommandSource> (String): parseCommand, method_45003, parse

void (String, boolean, Runnable): tryHandleChat, method_44337, validateMessage

Optional<LastSeenMessageList> (LastSeenMessageList$Acknowledgment): unpackAndApplyLastSeen, method_45169, validateAcknowledgment

boolean (String): isChatMessageIllegal, method_43508, hasIllegalCharacter

SignedMessage (ChatMessageC2SPacket, LastSeenMessageList): getSignedMessage, method_45011, getSignedMessage

void (SignedMessage): broadcastChatMessage, method_44155, handleDecoratedMessage

void (): detectRateSpam, method_43669, checkForSpam

void (MessageAcknowledgmentC2SPacket): handleChatAck, method_44898, onMessageAcknowledgment

void (HandSwingC2SPacket): handleAnimate, method_12052, onHandSwing

void (ClientCommandC2SPacket): handlePlayerCommand, method_12045, onClientCommand

void (SignedMessage, MessageType$Parameters): sendPlayerChatMessage, method_45170, sendChatMessage

void (Text, MessageType$Parameters): sendDisguisedChatMessage, method_45168, sendProfilelessChatMessage

SocketAddress (): getRemoteAddress, method_48107, getConnectionAddress

void (): switchToConfig, method_52414, reconfigure

void (QueryPingC2SPacket): handlePingRequest, method_12697, onQueryPing

void (PlayerInteractEntityC2SPacket): handleInteract, method_12062, onPlayerInteractEntity

void (ClientStatusC2SPacket): handleClientCommand, method_12068, onClientStatus

void (CloseHandledScreenC2SPacket): handleContainerClose, method_12054, onCloseHandledScreen

void (ClickSlotC2SPacket): handleContainerClick, method_12076, onClickSlot

void (CraftRequestC2SPacket): handlePlaceRecipe, method_12061, onCraftRequest

void (ButtonClickC2SPacket): handleContainerButtonClick, method_12055, onButtonClick

void (CreativeInventoryActionC2SPacket): handleSetCreativeModeSlot, method_12070, onCreativeInventoryAction

void (UpdateSignC2SPacket): handleSignUpdate, method_12071, onUpdateSign

void (UpdateSignC2SPacket, List<FilteredMessage>): updateSignText, method_31282, onSignUpdate

void (UpdatePlayerAbilitiesC2SPacket): handlePlayerAbilities, method_12083, onUpdatePlayerAbilities

void (ClientOptionsC2SPacket): handleClientInformation, method_12069, onClientOptions

void (UpdateDifficultyC2SPacket): handleChangeDifficulty, method_19475, onUpdateDifficulty

void (ChangeGameModeC2SPacket): handleChangeGameMode, method_71675, onChangeGameMode

void (UpdateDifficultyLockC2SPacket): handleLockDifficulty, method_19476, onUpdateDifficultyLock

void (PlayerSessionC2SPacket): handleChatSessionUpdate, method_46367, onPlayerSession

void (AcknowledgeReconfigurationC2SPacket): handleConfigurationAcknowledged, method_52279, onAcknowledgeReconfiguration

void (AcknowledgeChunksC2SPacket): handleChunkBatchReceived, method_52278, onAcknowledgeChunks

void (DebugSubscriptionRequestC2SPacket): handleDebugSubscriptionRequest, method_56619, onDebugSubscriptionRequest

void (PublicPlayerSession): resetPlayerChatState, method_46365, setSession

void (CustomPayloadC2SPacket): handleCustomPayload, method_52392, onCustomPayload

void (ClientTickEndC2SPacket): handleClientTickEnd, method_61219, onClientTickEnd

void (Vec3d): handlePlayerKnownMovement, method_61290, handleMovement

boolean (): hasInfiniteMaterials, method_68733, isInCreativeMode

ServerPlayerEntity (): getPlayer, method_32311, getPlayer

boolean (): hasClientLoaded, method_76685, canInteractWithGame

void (): tickClientLoadTimeout, method_76686, tickLoading

void (): markClientLoaded, method_76688, markLoaded

void (): markClientUnloadedAfterDeath, method_76687, markAsDead

void (): restartClientLoadTimerAfterRespawn, method_76689, markRespawned

void (PublicPlayerSession): lambda$resetPlayerChatState$12, method_54439, method_54439

void (UpdateSignC2SPacket, List): lambda$handleSignUpdate$11, method_31285, method_31285

ServerCommandSource (SignedCommandArguments, ServerCommandSource): lambda$performSignedChatCommand$10, method_45002, method_45002

void (ChatCommandSignedC2SPacket, Optional): lambda$handleSignedChatCommand$9, method_58588, method_58588

void (CommandExecutionC2SPacket): lambda$handleChatCommand$8, method_44356, method_44356

void (ChatMessageC2SPacket, Optional): lambda$handleChat$7, method_44900, method_44900

void (SignedMessage, Text, FilteredMessage): lambda$handleChat$6, method_45064, method_45064

RawFilteredPair (FilteredMessage): lambda$signBook$5, method_33799, method_33799

void (int, List): lambda$handleEditBook$4, method_31274, method_31274

void (int, List): lambda$handleEditBook$3, method_31283, method_31283

Optional (RegistryKey): lambda$handleTestInstanceBlockAction$2, method_66589, method_66589

void (RequestCommandCompletionsC2SPacket, com.mojang.brigadier.suggestion.Suggestions): lambda$handleCustomCommandSuggestions$1, method_14365, method_14365

Object (Object): lambda$filterTextPacket$0, method_31284, method_31284