upgrade packetid to 1.20.2

This commit is contained in:
Tnze
2023-11-17 00:03:23 +08:00
parent 5ae7ff14ca
commit a3e7d2df8d
3 changed files with 168 additions and 160 deletions

View File

@ -11,120 +11,121 @@ func _() {
_ = x[BundleDelimiter-0] _ = x[BundleDelimiter-0]
_ = x[ClientboundAddEntity-1] _ = x[ClientboundAddEntity-1]
_ = x[ClientboundAddExperienceOrb-2] _ = x[ClientboundAddExperienceOrb-2]
_ = x[ClientboundAddPlayer-3] _ = x[ClientboundAnimate-3]
_ = x[ClientboundAnimate-4] _ = x[ClientboundAwardStats-4]
_ = x[ClientboundAwardStats-5] _ = x[ClientboundBlockChangedAck-5]
_ = x[ClientboundBlockChangedAck-6] _ = x[ClientboundBlockDestruction-6]
_ = x[ClientboundBlockDestruction-7] _ = x[ClientboundBlockEntityData-7]
_ = x[ClientboundBlockEntityData-8] _ = x[ClientboundBlockEvent-8]
_ = x[ClientboundBlockEvent-9] _ = x[ClientboundBlockUpdate-9]
_ = x[ClientboundBlockUpdate-10] _ = x[ClientboundBossEvent-10]
_ = x[ClientboundBossEvent-11] _ = x[ClientboundChangeDifficulty-11]
_ = x[ClientboundChangeDifficulty-12] _ = x[ClientboundChunkBatchFinished-12]
_ = x[ClientboundChunksBiomes-13] _ = x[ClientboundChunkBatchStart-13]
_ = x[ClientboundClearTitles-14] _ = x[ClientboundChunksBiomes-14]
_ = x[ClientboundCommandSuggestions-15] _ = x[ClientboundClearTitles-15]
_ = x[ClientboundCommands-16] _ = x[ClientboundCommandSuggestions-16]
_ = x[ClientboundContainerClose-17] _ = x[ClientboundCommands-17]
_ = x[ClientboundContainerSetContent-18] _ = x[ClientboundContainerClose-18]
_ = x[ClientboundContainerSetData-19] _ = x[ClientboundContainerSetContent-19]
_ = x[ClientboundContainerSetSlot-20] _ = x[ClientboundContainerSetData-20]
_ = x[ClientboundCooldown-21] _ = x[ClientboundContainerSetSlot-21]
_ = x[ClientboundCustomChatCompletions-22] _ = x[ClientboundCooldown-22]
_ = x[ClientboundCustomPayload-23] _ = x[ClientboundCustomChatCompletions-23]
_ = x[ClientboundDamageEvent-24] _ = x[ClientboundCustomPayload-24]
_ = x[ClientboundDeleteChat-25] _ = x[ClientboundDamageEvent-25]
_ = x[ClientboundDisconnect-26] _ = x[ClientboundDeleteChat-26]
_ = x[ClientboundDisguisedChat-27] _ = x[ClientboundDisconnect-27]
_ = x[ClientboundEntityEvent-28] _ = x[ClientboundDisguisedChat-28]
_ = x[ClientboundExplode-29] _ = x[ClientboundEntityEvent-29]
_ = x[ClientboundForgetLevelChunk-30] _ = x[ClientboundExplode-30]
_ = x[ClientboundGameEvent-31] _ = x[ClientboundForgetLevelChunk-31]
_ = x[ClientboundHorseScreenOpen-32] _ = x[ClientboundGameEvent-32]
_ = x[ClientboundHurtAnimation-33] _ = x[ClientboundHorseScreenOpen-33]
_ = x[ClientboundInitializeBorder-34] _ = x[ClientboundHurtAnimation-34]
_ = x[ClientboundKeepAlive-35] _ = x[ClientboundInitializeBorder-35]
_ = x[ClientboundLevelChunkWithLight-36] _ = x[ClientboundKeepAlive-36]
_ = x[ClientboundLevelEvent-37] _ = x[ClientboundLevelChunkWithLight-37]
_ = x[ClientboundLevelParticles-38] _ = x[ClientboundLevelEvent-38]
_ = x[ClientboundLightUpdate-39] _ = x[ClientboundLevelParticles-39]
_ = x[ClientboundLogin-40] _ = x[ClientboundLightUpdate-40]
_ = x[ClientboundMapItemData-41] _ = x[ClientboundLogin-41]
_ = x[ClientboundMerchantOffers-42] _ = x[ClientboundMapItemData-42]
_ = x[ClientboundMoveEntityPos-43] _ = x[ClientboundMerchantOffers-43]
_ = x[ClientboundMoveEntityPosRot-44] _ = x[ClientboundMoveEntityPos-44]
_ = x[ClientboundMoveEntityRot-45] _ = x[ClientboundMoveEntityPosRot-45]
_ = x[ClientboundMoveVehicle-46] _ = x[ClientboundMoveEntityRot-46]
_ = x[ClientboundOpenBook-47] _ = x[ClientboundMoveVehicle-47]
_ = x[ClientboundOpenScreen-48] _ = x[ClientboundOpenBook-48]
_ = x[ClientboundOpenSignEditor-49] _ = x[ClientboundOpenScreen-49]
_ = x[ClientboundPing-50] _ = x[ClientboundOpenSignEditor-50]
_ = x[ClientboundPlaceGhostRecipe-51] _ = x[ClientboundPing-51]
_ = x[ClientboundPlayerAbilities-52] _ = x[ClientboundPongResponse-52]
_ = x[ClientboundPlayerChat-53] _ = x[ClientboundPlaceGhostRecipe-53]
_ = x[ClientboundPlayerCombatEnd-54] _ = x[ClientboundPlayerAbilities-54]
_ = x[ClientboundPlayerCombatEnter-55] _ = x[ClientboundPlayerChat-55]
_ = x[ClientboundPlayerCombatKill-56] _ = x[ClientboundPlayerCombatEnd-56]
_ = x[ClientboundPlayerInfoRemove-57] _ = x[ClientboundPlayerCombatEnter-57]
_ = x[ClientboundPlayerInfoUpdate-58] _ = x[ClientboundPlayerCombatKill-58]
_ = x[ClientboundPlayerLookAt-59] _ = x[ClientboundPlayerInfoRemove-59]
_ = x[ClientboundPlayerPosition-60] _ = x[ClientboundPlayerInfoUpdate-60]
_ = x[ClientboundRecipe-61] _ = x[ClientboundPlayerLookAt-61]
_ = x[ClientboundRemoveEntities-62] _ = x[ClientboundPlayerPosition-62]
_ = x[ClientboundRemoveMobEffect-63] _ = x[ClientboundRecipe-63]
_ = x[ClientboundResourcePack-64] _ = x[ClientboundRemoveEntities-64]
_ = x[ClientboundRespawn-65] _ = x[ClientboundRemoveMobEffect-65]
_ = x[ClientboundRotateHead-66] _ = x[ClientboundResourcePack-66]
_ = x[ClientboundSectionBlocksUpdate-67] _ = x[ClientboundRespawn-67]
_ = x[ClientboundSelectAdvancementsTab-68] _ = x[ClientboundRotateHead-68]
_ = x[ClientboundServerData-69] _ = x[ClientboundSectionBlocksUpdate-69]
_ = x[ClientboundSetActionBarText-70] _ = x[ClientboundSelectAdvancementsTab-70]
_ = x[ClientboundSetBorderCenter-71] _ = x[ClientboundServerData-71]
_ = x[ClientboundSetBorderLerpSize-72] _ = x[ClientboundSetActionBarText-72]
_ = x[ClientboundSetBorderSize-73] _ = x[ClientboundSetBorderCenter-73]
_ = x[ClientboundSetBorderWarningDelay-74] _ = x[ClientboundSetBorderLerpSize-74]
_ = x[ClientboundSetBorderWarningDistance-75] _ = x[ClientboundSetBorderSize-75]
_ = x[ClientboundSetCamera-76] _ = x[ClientboundSetBorderWarningDelay-76]
_ = x[ClientboundSetCarriedItem-77] _ = x[ClientboundSetBorderWarningDistance-77]
_ = x[ClientboundSetChunkCacheCenter-78] _ = x[ClientboundSetCamera-78]
_ = x[ClientboundSetChunkCacheRadius-79] _ = x[ClientboundSetCarriedItem-79]
_ = x[ClientboundSetDefaultSpawnPosition-80] _ = x[ClientboundSetChunkCacheCenter-80]
_ = x[ClientboundSetDisplayObjective-81] _ = x[ClientboundSetChunkCacheRadius-81]
_ = x[ClientboundSetEntityData-82] _ = x[ClientboundSetDefaultSpawnPosition-82]
_ = x[ClientboundSetEntityLink-83] _ = x[ClientboundSetDisplayObjective-83]
_ = x[ClientboundSetEntityMotion-84] _ = x[ClientboundSetEntityData-84]
_ = x[ClientboundSetEquipment-85] _ = x[ClientboundSetEntityLink-85]
_ = x[ClientboundSetExperience-86] _ = x[ClientboundSetEntityMotion-86]
_ = x[ClientboundSetHealth-87] _ = x[ClientboundSetEquipment-87]
_ = x[ClientboundSetObjective-88] _ = x[ClientboundSetExperience-88]
_ = x[ClientboundSetPassengers-89] _ = x[ClientboundSetHealth-89]
_ = x[ClientboundSetPlayerTeam-90] _ = x[ClientboundSetObjective-90]
_ = x[ClientboundSetScore-91] _ = x[ClientboundSetPassengers-91]
_ = x[ClientboundSetSimulationDistance-92] _ = x[ClientboundSetPlayerTeam-92]
_ = x[ClientboundSetSubtitleText-93] _ = x[ClientboundSetScore-93]
_ = x[ClientboundSetTime-94] _ = x[ClientboundSetSimulationDistance-94]
_ = x[ClientboundSetTitleText-95] _ = x[ClientboundSetSubtitleText-95]
_ = x[ClientboundSetTitlesAnimation-96] _ = x[ClientboundSetTime-96]
_ = x[ClientboundSoundEntity-97] _ = x[ClientboundSetTitleText-97]
_ = x[ClientboundSound-98] _ = x[ClientboundSetTitlesAnimation-98]
_ = x[ClientboundStopSound-99] _ = x[ClientboundSoundEntity-99]
_ = x[ClientboundSystemChat-100] _ = x[ClientboundSound-100]
_ = x[ClientboundTabList-101] _ = x[ClientboundStartConfiguration-101]
_ = x[ClientboundTagQuery-102] _ = x[ClientboundStopSound-102]
_ = x[ClientboundTakeItemEntity-103] _ = x[ClientboundSystemChat-103]
_ = x[ClientboundTeleportEntity-104] _ = x[ClientboundTabList-104]
_ = x[ClientboundUpdateAdvancements-105] _ = x[ClientboundTagQuery-105]
_ = x[ClientboundUpdateAttributes-106] _ = x[ClientboundTakeItemEntity-106]
_ = x[ClientboundUpdateEnabledFeatures-107] _ = x[ClientboundTeleportEntity-107]
_ = x[ClientboundUpdateMobEffect-108] _ = x[ClientboundUpdateAdvancements-108]
_ = x[ClientboundUpdateRecipes-109] _ = x[ClientboundUpdateAttributes-109]
_ = x[ClientboundUpdateTags-110] _ = x[ClientboundUpdateMobEffect-110]
_ = x[ClientboundPacketIDGuard-111] _ = x[ClientboundUpdateRecipes-111]
_ = x[ClientboundUpdateTags-112]
} }
const _ClientboundPacketID_name = "BundleDelimiterClientboundAddEntityClientboundAddExperienceOrbClientboundAddPlayerClientboundAnimateClientboundAwardStatsClientboundBlockChangedAckClientboundBlockDestructionClientboundBlockEntityDataClientboundBlockEventClientboundBlockUpdateClientboundBossEventClientboundChangeDifficultyClientboundChunksBiomesClientboundClearTitlesClientboundCommandSuggestionsClientboundCommandsClientboundContainerCloseClientboundContainerSetContentClientboundContainerSetDataClientboundContainerSetSlotClientboundCooldownClientboundCustomChatCompletionsClientboundCustomPayloadClientboundDamageEventClientboundDeleteChatClientboundDisconnectClientboundDisguisedChatClientboundEntityEventClientboundExplodeClientboundForgetLevelChunkClientboundGameEventClientboundHorseScreenOpenClientboundHurtAnimationClientboundInitializeBorderClientboundKeepAliveClientboundLevelChunkWithLightClientboundLevelEventClientboundLevelParticlesClientboundLightUpdateClientboundLoginClientboundMapItemDataClientboundMerchantOffersClientboundMoveEntityPosClientboundMoveEntityPosRotClientboundMoveEntityRotClientboundMoveVehicleClientboundOpenBookClientboundOpenScreenClientboundOpenSignEditorClientboundPingClientboundPlaceGhostRecipeClientboundPlayerAbilitiesClientboundPlayerChatClientboundPlayerCombatEndClientboundPlayerCombatEnterClientboundPlayerCombatKillClientboundPlayerInfoRemoveClientboundPlayerInfoUpdateClientboundPlayerLookAtClientboundPlayerPositionClientboundRecipeClientboundRemoveEntitiesClientboundRemoveMobEffectClientboundResourcePackClientboundRespawnClientboundRotateHeadClientboundSectionBlocksUpdateClientboundSelectAdvancementsTabClientboundServerDataClientboundSetActionBarTextClientboundSetBorderCenterClientboundSetBorderLerpSizeClientboundSetBorderSizeClientboundSetBorderWarningDelayClientboundSetBorderWarningDistanceClientboundSetCameraClientboundSetCarriedItemClientboundSetChunkCacheCenterClientboundSetChunkCacheRadiusClientboundSetDefaultSpawnPositionClientboundSetDisplayObjectiveClientboundSetEntityDataClientboundSetEntityLinkClientboundSetEntityMotionClientboundSetEquipmentClientboundSetExperienceClientboundSetHealthClientboundSetObjectiveClientboundSetPassengersClientboundSetPlayerTeamClientboundSetScoreClientboundSetSimulationDistanceClientboundSetSubtitleTextClientboundSetTimeClientboundSetTitleTextClientboundSetTitlesAnimationClientboundSoundEntityClientboundSoundClientboundStopSoundClientboundSystemChatClientboundTabListClientboundTagQueryClientboundTakeItemEntityClientboundTeleportEntityClientboundUpdateAdvancementsClientboundUpdateAttributesClientboundUpdateEnabledFeaturesClientboundUpdateMobEffectClientboundUpdateRecipesClientboundUpdateTagsClientboundPacketIDGuard" const _ClientboundPacketID_name = "BundleDelimiterClientboundAddEntityClientboundAddExperienceOrbClientboundAnimateClientboundAwardStatsClientboundBlockChangedAckClientboundBlockDestructionClientboundBlockEntityDataClientboundBlockEventClientboundBlockUpdateClientboundBossEventClientboundChangeDifficultyClientboundChunkBatchFinishedClientboundChunkBatchStartClientboundChunksBiomesClientboundClearTitlesClientboundCommandSuggestionsClientboundCommandsClientboundContainerCloseClientboundContainerSetContentClientboundContainerSetDataClientboundContainerSetSlotClientboundCooldownClientboundCustomChatCompletionsClientboundCustomPayloadClientboundDamageEventClientboundDeleteChatClientboundDisconnectClientboundDisguisedChatClientboundEntityEventClientboundExplodeClientboundForgetLevelChunkClientboundGameEventClientboundHorseScreenOpenClientboundHurtAnimationClientboundInitializeBorderClientboundKeepAliveClientboundLevelChunkWithLightClientboundLevelEventClientboundLevelParticlesClientboundLightUpdateClientboundLoginClientboundMapItemDataClientboundMerchantOffersClientboundMoveEntityPosClientboundMoveEntityPosRotClientboundMoveEntityRotClientboundMoveVehicleClientboundOpenBookClientboundOpenScreenClientboundOpenSignEditorClientboundPingClientboundPongResponseClientboundPlaceGhostRecipeClientboundPlayerAbilitiesClientboundPlayerChatClientboundPlayerCombatEndClientboundPlayerCombatEnterClientboundPlayerCombatKillClientboundPlayerInfoRemoveClientboundPlayerInfoUpdateClientboundPlayerLookAtClientboundPlayerPositionClientboundRecipeClientboundRemoveEntitiesClientboundRemoveMobEffectClientboundResourcePackClientboundRespawnClientboundRotateHeadClientboundSectionBlocksUpdateClientboundSelectAdvancementsTabClientboundServerDataClientboundSetActionBarTextClientboundSetBorderCenterClientboundSetBorderLerpSizeClientboundSetBorderSizeClientboundSetBorderWarningDelayClientboundSetBorderWarningDistanceClientboundSetCameraClientboundSetCarriedItemClientboundSetChunkCacheCenterClientboundSetChunkCacheRadiusClientboundSetDefaultSpawnPositionClientboundSetDisplayObjectiveClientboundSetEntityDataClientboundSetEntityLinkClientboundSetEntityMotionClientboundSetEquipmentClientboundSetExperienceClientboundSetHealthClientboundSetObjectiveClientboundSetPassengersClientboundSetPlayerTeamClientboundSetScoreClientboundSetSimulationDistanceClientboundSetSubtitleTextClientboundSetTimeClientboundSetTitleTextClientboundSetTitlesAnimationClientboundSoundEntityClientboundSoundClientboundStartConfigurationClientboundStopSoundClientboundSystemChatClientboundTabListClientboundTagQueryClientboundTakeItemEntityClientboundTeleportEntityClientboundUpdateAdvancementsClientboundUpdateAttributesClientboundUpdateMobEffectClientboundUpdateRecipesClientboundUpdateTags"
var _ClientboundPacketID_index = [...]uint16{0, 15, 35, 62, 82, 100, 121, 147, 174, 200, 221, 243, 263, 290, 313, 335, 364, 383, 408, 438, 465, 492, 511, 543, 567, 589, 610, 631, 655, 677, 695, 722, 742, 768, 792, 819, 839, 869, 890, 915, 937, 953, 975, 1000, 1024, 1051, 1075, 1097, 1116, 1137, 1162, 1177, 1204, 1230, 1251, 1277, 1305, 1332, 1359, 1386, 1409, 1434, 1451, 1476, 1502, 1525, 1543, 1564, 1594, 1626, 1647, 1674, 1700, 1728, 1752, 1784, 1819, 1839, 1864, 1894, 1924, 1958, 1988, 2012, 2036, 2062, 2085, 2109, 2129, 2152, 2176, 2200, 2219, 2251, 2277, 2295, 2318, 2347, 2369, 2385, 2405, 2426, 2444, 2463, 2488, 2513, 2542, 2569, 2601, 2627, 2651, 2672, 2696} var _ClientboundPacketID_index = [...]uint16{0, 15, 35, 62, 80, 101, 127, 154, 180, 201, 223, 243, 270, 299, 325, 348, 370, 399, 418, 443, 473, 500, 527, 546, 578, 602, 624, 645, 666, 690, 712, 730, 757, 777, 803, 827, 854, 874, 904, 925, 950, 972, 988, 1010, 1035, 1059, 1086, 1110, 1132, 1151, 1172, 1197, 1212, 1235, 1262, 1288, 1309, 1335, 1363, 1390, 1417, 1444, 1467, 1492, 1509, 1534, 1560, 1583, 1601, 1622, 1652, 1684, 1705, 1732, 1758, 1786, 1810, 1842, 1877, 1897, 1922, 1952, 1982, 2016, 2046, 2070, 2094, 2120, 2143, 2167, 2187, 2210, 2234, 2258, 2277, 2309, 2335, 2353, 2376, 2405, 2427, 2443, 2472, 2492, 2513, 2531, 2550, 2575, 2600, 2629, 2656, 2682, 2706, 2727}
func (i ClientboundPacketID) String() string { func (i ClientboundPacketID) String() string {
if i < 0 || i >= ClientboundPacketID(len(_ClientboundPacketID_index)-1) { if i < 0 || i >= ClientboundPacketID(len(_ClientboundPacketID_index)-1) {

View File

@ -40,7 +40,6 @@ const (
BundleDelimiter ClientboundPacketID = iota BundleDelimiter ClientboundPacketID = iota
ClientboundAddEntity ClientboundAddEntity
ClientboundAddExperienceOrb ClientboundAddExperienceOrb
ClientboundAddPlayer
ClientboundAnimate ClientboundAnimate
ClientboundAwardStats ClientboundAwardStats
ClientboundBlockChangedAck ClientboundBlockChangedAck
@ -50,6 +49,8 @@ const (
ClientboundBlockUpdate ClientboundBlockUpdate
ClientboundBossEvent ClientboundBossEvent
ClientboundChangeDifficulty ClientboundChangeDifficulty
ClientboundChunkBatchFinished
ClientboundChunkBatchStart
ClientboundChunksBiomes ClientboundChunksBiomes
ClientboundClearTitles ClientboundClearTitles
ClientboundCommandSuggestions ClientboundCommandSuggestions
@ -88,6 +89,7 @@ const (
ClientboundOpenScreen ClientboundOpenScreen
ClientboundOpenSignEditor ClientboundOpenSignEditor
ClientboundPing ClientboundPing
ClientboundPongResponse
ClientboundPlaceGhostRecipe ClientboundPlaceGhostRecipe
ClientboundPlayerAbilities ClientboundPlayerAbilities
ClientboundPlayerChat ClientboundPlayerChat
@ -136,6 +138,7 @@ const (
ClientboundSetTitlesAnimation ClientboundSetTitlesAnimation
ClientboundSoundEntity ClientboundSoundEntity
ClientboundSound ClientboundSound
ClientboundStartConfiguration
ClientboundStopSound ClientboundStopSound
ClientboundSystemChat ClientboundSystemChat
ClientboundTabList ClientboundTabList
@ -144,7 +147,6 @@ const (
ClientboundTeleportEntity ClientboundTeleportEntity
ClientboundUpdateAdvancements ClientboundUpdateAdvancements
ClientboundUpdateAttributes ClientboundUpdateAttributes
ClientboundUpdateEnabledFeatures
ClientboundUpdateMobEffect ClientboundUpdateMobEffect
ClientboundUpdateRecipes ClientboundUpdateRecipes
ClientboundUpdateTags ClientboundUpdateTags
@ -160,9 +162,11 @@ const (
ServerboundChatCommand ServerboundChatCommand
ServerboundChat ServerboundChat
ServerboundChatSessionUpdate ServerboundChatSessionUpdate
ServerboundChunkBatchReceived
ServerboundClientCommand ServerboundClientCommand
ServerboundClientInformation ServerboundClientInformation
ServerboundCommandSuggestion ServerboundCommandSuggestion
ServerboundConfigurationAcknowledged
ServerboundContainerButtonClick ServerboundContainerButtonClick
ServerboundContainerClick ServerboundContainerClick
ServerboundContainerClose ServerboundContainerClose
@ -180,6 +184,7 @@ const (
ServerboundMoveVehicle ServerboundMoveVehicle
ServerboundPaddleBoat ServerboundPaddleBoat
ServerboundPickItem ServerboundPickItem
ServerboundPingRequest
ServerboundPlaceRecipe ServerboundPlaceRecipe
ServerboundPlayerAbilities ServerboundPlayerAbilities
ServerboundPlayerAction ServerboundPlayerAction

View File

@ -15,56 +15,58 @@ func _() {
_ = x[ServerboundChatCommand-4] _ = x[ServerboundChatCommand-4]
_ = x[ServerboundChat-5] _ = x[ServerboundChat-5]
_ = x[ServerboundChatSessionUpdate-6] _ = x[ServerboundChatSessionUpdate-6]
_ = x[ServerboundClientCommand-7] _ = x[ServerboundChunkBatchReceived-7]
_ = x[ServerboundClientInformation-8] _ = x[ServerboundClientCommand-8]
_ = x[ServerboundCommandSuggestion-9] _ = x[ServerboundClientInformation-9]
_ = x[ServerboundContainerButtonClick-10] _ = x[ServerboundCommandSuggestion-10]
_ = x[ServerboundContainerClick-11] _ = x[ServerboundConfigurationAcknowledged-11]
_ = x[ServerboundContainerClose-12] _ = x[ServerboundContainerButtonClick-12]
_ = x[ServerboundCustomPayload-13] _ = x[ServerboundContainerClick-13]
_ = x[ServerboundEditBook-14] _ = x[ServerboundContainerClose-14]
_ = x[ServerboundEntityTagQuery-15] _ = x[ServerboundCustomPayload-15]
_ = x[ServerboundInteract-16] _ = x[ServerboundEditBook-16]
_ = x[ServerboundJigsawGenerate-17] _ = x[ServerboundEntityTagQuery-17]
_ = x[ServerboundKeepAlive-18] _ = x[ServerboundInteract-18]
_ = x[ServerboundLockDifficulty-19] _ = x[ServerboundJigsawGenerate-19]
_ = x[ServerboundMovePlayerPos-20] _ = x[ServerboundKeepAlive-20]
_ = x[ServerboundMovePlayerPosRot-21] _ = x[ServerboundLockDifficulty-21]
_ = x[ServerboundMovePlayerRot-22] _ = x[ServerboundMovePlayerPos-22]
_ = x[ServerboundMovePlayerStatusOnly-23] _ = x[ServerboundMovePlayerPosRot-23]
_ = x[ServerboundMoveVehicle-24] _ = x[ServerboundMovePlayerRot-24]
_ = x[ServerboundPaddleBoat-25] _ = x[ServerboundMovePlayerStatusOnly-25]
_ = x[ServerboundPickItem-26] _ = x[ServerboundMoveVehicle-26]
_ = x[ServerboundPlaceRecipe-27] _ = x[ServerboundPaddleBoat-27]
_ = x[ServerboundPlayerAbilities-28] _ = x[ServerboundPickItem-28]
_ = x[ServerboundPlayerAction-29] _ = x[ServerboundPingRequest-29]
_ = x[ServerboundPlayerCommand-30] _ = x[ServerboundPlaceRecipe-30]
_ = x[ServerboundPlayerInput-31] _ = x[ServerboundPlayerAbilities-31]
_ = x[ServerboundPong-32] _ = x[ServerboundPlayerAction-32]
_ = x[ServerboundRecipeBookChangeSettings-33] _ = x[ServerboundPlayerCommand-33]
_ = x[ServerboundRecipeBookSeenRecipe-34] _ = x[ServerboundPlayerInput-34]
_ = x[ServerboundRenameItem-35] _ = x[ServerboundPong-35]
_ = x[ServerboundResourcePack-36] _ = x[ServerboundRecipeBookChangeSettings-36]
_ = x[ServerboundSeenAdvancements-37] _ = x[ServerboundRecipeBookSeenRecipe-37]
_ = x[ServerboundSelectTrade-38] _ = x[ServerboundRenameItem-38]
_ = x[ServerboundSetBeacon-39] _ = x[ServerboundResourcePack-39]
_ = x[ServerboundSetCarriedItem-40] _ = x[ServerboundSeenAdvancements-40]
_ = x[ServerboundSetCommandBlock-41] _ = x[ServerboundSelectTrade-41]
_ = x[ServerboundSetCommandMinecart-42] _ = x[ServerboundSetBeacon-42]
_ = x[ServerboundSetCreativeModeSlot-43] _ = x[ServerboundSetCarriedItem-43]
_ = x[ServerboundSetJigsawBlock-44] _ = x[ServerboundSetCommandBlock-44]
_ = x[ServerboundSetStructureBlock-45] _ = x[ServerboundSetCommandMinecart-45]
_ = x[ServerboundSignUpdate-46] _ = x[ServerboundSetCreativeModeSlot-46]
_ = x[ServerboundSwing-47] _ = x[ServerboundSetJigsawBlock-47]
_ = x[ServerboundTeleportToEntity-48] _ = x[ServerboundSetStructureBlock-48]
_ = x[ServerboundUseItemOn-49] _ = x[ServerboundSignUpdate-49]
_ = x[ServerboundUseItem-50] _ = x[ServerboundSwing-50]
_ = x[ServerboundPacketIDGuard-51] _ = x[ServerboundTeleportToEntity-51]
_ = x[ServerboundUseItemOn-52]
_ = x[ServerboundUseItem-53]
} }
const _ServerboundPacketID_name = "ServerboundAcceptTeleportationServerboundBlockEntityTagQueryServerboundChangeDifficultyServerboundChatAckServerboundChatCommandServerboundChatServerboundChatSessionUpdateServerboundClientCommandServerboundClientInformationServerboundCommandSuggestionServerboundContainerButtonClickServerboundContainerClickServerboundContainerCloseServerboundCustomPayloadServerboundEditBookServerboundEntityTagQueryServerboundInteractServerboundJigsawGenerateServerboundKeepAliveServerboundLockDifficultyServerboundMovePlayerPosServerboundMovePlayerPosRotServerboundMovePlayerRotServerboundMovePlayerStatusOnlyServerboundMoveVehicleServerboundPaddleBoatServerboundPickItemServerboundPlaceRecipeServerboundPlayerAbilitiesServerboundPlayerActionServerboundPlayerCommandServerboundPlayerInputServerboundPongServerboundRecipeBookChangeSettingsServerboundRecipeBookSeenRecipeServerboundRenameItemServerboundResourcePackServerboundSeenAdvancementsServerboundSelectTradeServerboundSetBeaconServerboundSetCarriedItemServerboundSetCommandBlockServerboundSetCommandMinecartServerboundSetCreativeModeSlotServerboundSetJigsawBlockServerboundSetStructureBlockServerboundSignUpdateServerboundSwingServerboundTeleportToEntityServerboundUseItemOnServerboundUseItemServerboundPacketIDGuard" const _ServerboundPacketID_name = "ServerboundAcceptTeleportationServerboundBlockEntityTagQueryServerboundChangeDifficultyServerboundChatAckServerboundChatCommandServerboundChatServerboundChatSessionUpdateServerboundChunkBatchReceivedServerboundClientCommandServerboundClientInformationServerboundCommandSuggestionServerboundConfigurationAcknowledgedServerboundContainerButtonClickServerboundContainerClickServerboundContainerCloseServerboundCustomPayloadServerboundEditBookServerboundEntityTagQueryServerboundInteractServerboundJigsawGenerateServerboundKeepAliveServerboundLockDifficultyServerboundMovePlayerPosServerboundMovePlayerPosRotServerboundMovePlayerRotServerboundMovePlayerStatusOnlyServerboundMoveVehicleServerboundPaddleBoatServerboundPickItemServerboundPingRequestServerboundPlaceRecipeServerboundPlayerAbilitiesServerboundPlayerActionServerboundPlayerCommandServerboundPlayerInputServerboundPongServerboundRecipeBookChangeSettingsServerboundRecipeBookSeenRecipeServerboundRenameItemServerboundResourcePackServerboundSeenAdvancementsServerboundSelectTradeServerboundSetBeaconServerboundSetCarriedItemServerboundSetCommandBlockServerboundSetCommandMinecartServerboundSetCreativeModeSlotServerboundSetJigsawBlockServerboundSetStructureBlockServerboundSignUpdateServerboundSwingServerboundTeleportToEntityServerboundUseItemOnServerboundUseItem"
var _ServerboundPacketID_index = [...]uint16{0, 30, 60, 87, 105, 127, 142, 170, 194, 222, 250, 281, 306, 331, 355, 374, 399, 418, 443, 463, 488, 512, 539, 563, 594, 616, 637, 656, 678, 704, 727, 751, 773, 788, 823, 854, 875, 898, 925, 947, 967, 992, 1018, 1047, 1077, 1102, 1130, 1151, 1167, 1194, 1214, 1232, 1256} var _ServerboundPacketID_index = [...]uint16{0, 30, 60, 87, 105, 127, 142, 170, 199, 223, 251, 279, 315, 346, 371, 396, 420, 439, 464, 483, 508, 528, 553, 577, 604, 628, 659, 681, 702, 721, 743, 765, 791, 814, 838, 860, 875, 910, 941, 962, 985, 1012, 1034, 1054, 1079, 1105, 1134, 1164, 1189, 1217, 1238, 1254, 1281, 1301, 1319}
func (i ServerboundPacketID) String() string { func (i ServerboundPacketID) String() string {
if i < 0 || i >= ServerboundPacketID(len(_ServerboundPacketID_index)-1) { if i < 0 || i >= ServerboundPacketID(len(_ServerboundPacketID_index)-1) {