Updated 1.21.6

This commit is contained in:
2025-06-16 12:46:46 +08:00
parent 539b4a3a7f
commit f67c9e3052
290 changed files with 22178 additions and 18088 deletions

View File

@ -23,70 +23,79 @@ func _() {
_ = x[ServerboundConfigPong-5]
_ = x[ServerboundConfigResourcePack-6]
_ = x[ServerboundConfigSelectKnownPacks-7]
_ = x[ServerboundConfigCustomClickAction-8]
_ = x[ServerboundAcceptTeleportation-0]
_ = x[ServerboundBlockEntityTagQuery-1]
_ = x[ServerboundChangeDifficulty-2]
_ = x[ServerboundChatAck-3]
_ = x[ServerboundChatCommand-4]
_ = x[ServerboundChatCommandSigned-5]
_ = x[ServerboundChat-6]
_ = x[ServerboundChatSessionUpdate-7]
_ = x[ServerboundChunkBatchReceived-8]
_ = x[ServerboundClientCommand-9]
_ = x[ServerboundClientInformation-10]
_ = x[ServerboundCommandSuggestion-11]
_ = x[ServerboundConfigurationAcknowledged-12]
_ = x[ServerboundContainerButtonClick-13]
_ = x[ServerboundContainerClick-14]
_ = x[ServerboundContainerClose-15]
_ = x[ServerboundContainerSlotStateChanged-16]
_ = x[ServerboundCookieResponse-17]
_ = x[ServerboundCustomPayload-18]
_ = x[ServerboundDebugSampleSubscription-19]
_ = x[ServerboundEditBook-20]
_ = x[ServerboundEntityTagQuery-21]
_ = x[ServerboundInteract-22]
_ = x[ServerboundJigsawGenerate-23]
_ = x[ServerboundKeepAlive-24]
_ = x[ServerboundLockDifficulty-25]
_ = x[ServerboundMovePlayerPos-26]
_ = x[ServerboundMovePlayerPosRot-27]
_ = x[ServerboundMovePlayerRot-28]
_ = x[ServerboundMovePlayerStatusOnly-29]
_ = x[ServerboundMoveVehicle-30]
_ = x[ServerboundPaddleBoat-31]
_ = x[ServerboundPickItem-32]
_ = x[ServerboundPingRequest-33]
_ = x[ServerboundPlaceRecipe-34]
_ = x[ServerboundPlayerAbilities-35]
_ = x[ServerboundPlayerAction-36]
_ = x[ServerboundPlayerCommand-37]
_ = x[ServerboundPlayerInput-38]
_ = x[ServerboundPong-39]
_ = x[ServerboundRecipeBookChangeSettings-40]
_ = x[ServerboundRecipeBookSeenRecipe-41]
_ = x[ServerboundRenameItem-42]
_ = x[ServerboundResourcePack-43]
_ = x[ServerboundSeenAdvancements-44]
_ = x[ServerboundSelectTrade-45]
_ = x[ServerboundSetBeacon-46]
_ = x[ServerboundSetCarriedItem-47]
_ = x[ServerboundSetCommandBlock-48]
_ = x[ServerboundSetCommandMinecart-49]
_ = x[ServerboundSetCreativeModeSlot-50]
_ = x[ServerboundSetJigsawBlock-51]
_ = x[ServerboundSetStructureBlock-52]
_ = x[ServerboundSignUpdate-53]
_ = x[ServerboundSwing-54]
_ = x[ServerboundTeleportToEntity-55]
_ = x[ServerboundUseItemOn-56]
_ = x[ServerboundUseItem-57]
_ = x[ServerboundPacketIDGuard-58]
_ = x[ServerboundBundleItemSelected-2]
_ = x[ServerboundChangeDifficulty-3]
_ = x[ServerboundChangeGameMode-4]
_ = x[ServerboundChatAck-5]
_ = x[ServerboundChatCommand-6]
_ = x[ServerboundChatCommandSigned-7]
_ = x[ServerboundChat-8]
_ = x[ServerboundChatSessionUpdate-9]
_ = x[ServerboundChunkBatchReceived-10]
_ = x[ServerboundClientCommand-11]
_ = x[ServerboundClientTickEnd-12]
_ = x[ServerboundClientInformation-13]
_ = x[ServerboundCommandSuggestion-14]
_ = x[ServerboundConfigurationAcknowledged-15]
_ = x[ServerboundContainerButtonClick-16]
_ = x[ServerboundContainerClick-17]
_ = x[ServerboundContainerClose-18]
_ = x[ServerboundContainerSlotStateChanged-19]
_ = x[ServerboundCookieResponse-20]
_ = x[ServerboundCustomPayload-21]
_ = x[ServerboundDebugSampleSubscription-22]
_ = x[ServerboundEditBook-23]
_ = x[ServerboundEntityTagQuery-24]
_ = x[ServerboundInteract-25]
_ = x[ServerboundJigsawGenerate-26]
_ = x[ServerboundKeepAlive-27]
_ = x[ServerboundLockDifficulty-28]
_ = x[ServerboundMovePlayerPos-29]
_ = x[ServerboundMovePlayerPosRot-30]
_ = x[ServerboundMovePlayerRot-31]
_ = x[ServerboundMovePlayerStatusOnly-32]
_ = x[ServerboundMoveVehicle-33]
_ = x[ServerboundPaddleBoat-34]
_ = x[ServerboundPickItemFromBlock-35]
_ = x[ServerboundPickItemFromEntity-36]
_ = x[ServerboundPingRequest-37]
_ = x[ServerboundPlaceRecipe-38]
_ = x[ServerboundPlayerAbilities-39]
_ = x[ServerboundPlayerAction-40]
_ = x[ServerboundPlayerCommand-41]
_ = x[ServerboundPlayerInput-42]
_ = x[ServerboundPlayerLoaded-43]
_ = x[ServerboundPong-44]
_ = x[ServerboundRecipeBookChangeSettings-45]
_ = x[ServerboundRecipeBookSeenRecipe-46]
_ = x[ServerboundRenameItem-47]
_ = x[ServerboundResourcePack-48]
_ = x[ServerboundSeenAdvancements-49]
_ = x[ServerboundSelectTrade-50]
_ = x[ServerboundSetBeacon-51]
_ = x[ServerboundSetCarriedItem-52]
_ = x[ServerboundSetCommandBlock-53]
_ = x[ServerboundSetCommandMinecart-54]
_ = x[ServerboundSetCreativeModeSlot-55]
_ = x[ServerboundSetJigsawBlock-56]
_ = x[ServerboundSetStructureBlock-57]
_ = x[ServerboundSetTestBlock-58]
_ = x[ServerboundSignUpdate-59]
_ = x[ServerboundSwing-60]
_ = x[ServerboundTeleportToEntity-61]
_ = x[ServerboundTestInstanceBlockAction-62]
_ = x[ServerboundUseItemOn-63]
_ = x[ServerboundUseItem-64]
_ = x[ServerboundCustomClickAction-65]
_ = x[ServerboundPacketIDGuard-66]
}
const _ServerboundPacketID_name = "ServerboundLoginHelloServerboundLoginKeyServerboundLoginCustomQueryAnswerServerboundLoginLoginAcknowledgedServerboundLoginCookieResponseServerboundConfigPongServerboundConfigResourcePackServerboundConfigSelectKnownPacksServerboundChunkBatchReceivedServerboundClientCommandServerboundClientInformationServerboundCommandSuggestionServerboundConfigurationAcknowledgedServerboundContainerButtonClickServerboundContainerClickServerboundContainerCloseServerboundContainerSlotStateChangedServerboundCookieResponseServerboundCustomPayloadServerboundDebugSampleSubscriptionServerboundEditBookServerboundEntityTagQueryServerboundInteractServerboundJigsawGenerateServerboundKeepAliveServerboundLockDifficultyServerboundMovePlayerPosServerboundMovePlayerPosRotServerboundMovePlayerRotServerboundMovePlayerStatusOnlyServerboundMoveVehicleServerboundPaddleBoatServerboundPickItemServerboundPingRequestServerboundPlaceRecipeServerboundPlayerAbilitiesServerboundPlayerActionServerboundPlayerCommandServerboundPlayerInputServerboundPongServerboundRecipeBookChangeSettingsServerboundRecipeBookSeenRecipeServerboundRenameItemServerboundResourcePackServerboundSeenAdvancementsServerboundSelectTradeServerboundSetBeaconServerboundSetCarriedItemServerboundSetCommandBlockServerboundSetCommandMinecartServerboundSetCreativeModeSlotServerboundSetJigsawBlockServerboundSetStructureBlockServerboundSignUpdateServerboundSwingServerboundTeleportToEntityServerboundUseItemOnServerboundUseItemServerboundPacketIDGuard"
const _ServerboundPacketID_name = "ServerboundLoginHelloServerboundLoginKeyServerboundLoginCustomQueryAnswerServerboundLoginLoginAcknowledgedServerboundLoginCookieResponseServerboundConfigPongServerboundConfigResourcePackServerboundConfigSelectKnownPacksServerboundConfigCustomClickActionServerboundChatSessionUpdateServerboundChunkBatchReceivedServerboundClientCommandServerboundClientTickEndServerboundClientInformationServerboundCommandSuggestionServerboundConfigurationAcknowledgedServerboundContainerButtonClickServerboundContainerClickServerboundContainerCloseServerboundContainerSlotStateChangedServerboundCookieResponseServerboundCustomPayloadServerboundDebugSampleSubscriptionServerboundEditBookServerboundEntityTagQueryServerboundInteractServerboundJigsawGenerateServerboundKeepAliveServerboundLockDifficultyServerboundMovePlayerPosServerboundMovePlayerPosRotServerboundMovePlayerRotServerboundMovePlayerStatusOnlyServerboundMoveVehicleServerboundPaddleBoatServerboundPickItemFromBlockServerboundPickItemFromEntityServerboundPingRequestServerboundPlaceRecipeServerboundPlayerAbilitiesServerboundPlayerActionServerboundPlayerCommandServerboundPlayerInputServerboundPlayerLoadedServerboundPongServerboundRecipeBookChangeSettingsServerboundRecipeBookSeenRecipeServerboundRenameItemServerboundResourcePackServerboundSeenAdvancementsServerboundSelectTradeServerboundSetBeaconServerboundSetCarriedItemServerboundSetCommandBlockServerboundSetCommandMinecartServerboundSetCreativeModeSlotServerboundSetJigsawBlockServerboundSetStructureBlockServerboundSetTestBlockServerboundSignUpdateServerboundSwingServerboundTeleportToEntityServerboundTestInstanceBlockActionServerboundUseItemOnServerboundUseItemServerboundCustomClickActionServerboundPacketIDGuard"
var _ServerboundPacketID_index = [...]uint16{0, 21, 40, 73, 106, 136, 157, 186, 219, 248, 272, 300, 328, 364, 395, 420, 445, 481, 506, 530, 564, 583, 608, 627, 652, 672, 697, 721, 748, 772, 803, 825, 846, 865, 887, 909, 935, 958, 982, 1004, 1019, 1054, 1085, 1106, 1129, 1156, 1178, 1198, 1223, 1249, 1278, 1308, 1333, 1361, 1382, 1398, 1425, 1445, 1463, 1487}
var _ServerboundPacketID_index = [...]uint16{0, 21, 40, 73, 106, 136, 157, 186, 219, 253, 281, 310, 334, 358, 386, 414, 450, 481, 506, 531, 567, 592, 616, 650, 669, 694, 713, 738, 758, 783, 807, 834, 858, 889, 911, 932, 960, 989, 1011, 1033, 1059, 1082, 1106, 1128, 1151, 1166, 1201, 1232, 1253, 1276, 1303, 1325, 1345, 1370, 1396, 1425, 1455, 1480, 1508, 1531, 1552, 1568, 1595, 1629, 1649, 1667, 1695, 1719}
func (i ServerboundPacketID) String() string {
if i < 0 || i >= ServerboundPacketID(len(_ServerboundPacketID_index)-1) {