upgrade packetid to 1.20.2
This commit is contained in:
@ -11,120 +11,121 @@ func _() {
|
||||
_ = x[BundleDelimiter-0]
|
||||
_ = x[ClientboundAddEntity-1]
|
||||
_ = x[ClientboundAddExperienceOrb-2]
|
||||
_ = x[ClientboundAddPlayer-3]
|
||||
_ = x[ClientboundAnimate-4]
|
||||
_ = x[ClientboundAwardStats-5]
|
||||
_ = x[ClientboundBlockChangedAck-6]
|
||||
_ = x[ClientboundBlockDestruction-7]
|
||||
_ = x[ClientboundBlockEntityData-8]
|
||||
_ = x[ClientboundBlockEvent-9]
|
||||
_ = x[ClientboundBlockUpdate-10]
|
||||
_ = x[ClientboundBossEvent-11]
|
||||
_ = x[ClientboundChangeDifficulty-12]
|
||||
_ = x[ClientboundChunksBiomes-13]
|
||||
_ = x[ClientboundClearTitles-14]
|
||||
_ = x[ClientboundCommandSuggestions-15]
|
||||
_ = x[ClientboundCommands-16]
|
||||
_ = x[ClientboundContainerClose-17]
|
||||
_ = x[ClientboundContainerSetContent-18]
|
||||
_ = x[ClientboundContainerSetData-19]
|
||||
_ = x[ClientboundContainerSetSlot-20]
|
||||
_ = x[ClientboundCooldown-21]
|
||||
_ = x[ClientboundCustomChatCompletions-22]
|
||||
_ = x[ClientboundCustomPayload-23]
|
||||
_ = x[ClientboundDamageEvent-24]
|
||||
_ = x[ClientboundDeleteChat-25]
|
||||
_ = x[ClientboundDisconnect-26]
|
||||
_ = x[ClientboundDisguisedChat-27]
|
||||
_ = x[ClientboundEntityEvent-28]
|
||||
_ = x[ClientboundExplode-29]
|
||||
_ = x[ClientboundForgetLevelChunk-30]
|
||||
_ = x[ClientboundGameEvent-31]
|
||||
_ = x[ClientboundHorseScreenOpen-32]
|
||||
_ = x[ClientboundHurtAnimation-33]
|
||||
_ = x[ClientboundInitializeBorder-34]
|
||||
_ = x[ClientboundKeepAlive-35]
|
||||
_ = x[ClientboundLevelChunkWithLight-36]
|
||||
_ = x[ClientboundLevelEvent-37]
|
||||
_ = x[ClientboundLevelParticles-38]
|
||||
_ = x[ClientboundLightUpdate-39]
|
||||
_ = x[ClientboundLogin-40]
|
||||
_ = x[ClientboundMapItemData-41]
|
||||
_ = x[ClientboundMerchantOffers-42]
|
||||
_ = x[ClientboundMoveEntityPos-43]
|
||||
_ = x[ClientboundMoveEntityPosRot-44]
|
||||
_ = x[ClientboundMoveEntityRot-45]
|
||||
_ = x[ClientboundMoveVehicle-46]
|
||||
_ = x[ClientboundOpenBook-47]
|
||||
_ = x[ClientboundOpenScreen-48]
|
||||
_ = x[ClientboundOpenSignEditor-49]
|
||||
_ = x[ClientboundPing-50]
|
||||
_ = x[ClientboundPlaceGhostRecipe-51]
|
||||
_ = x[ClientboundPlayerAbilities-52]
|
||||
_ = x[ClientboundPlayerChat-53]
|
||||
_ = x[ClientboundPlayerCombatEnd-54]
|
||||
_ = x[ClientboundPlayerCombatEnter-55]
|
||||
_ = x[ClientboundPlayerCombatKill-56]
|
||||
_ = x[ClientboundPlayerInfoRemove-57]
|
||||
_ = x[ClientboundPlayerInfoUpdate-58]
|
||||
_ = x[ClientboundPlayerLookAt-59]
|
||||
_ = x[ClientboundPlayerPosition-60]
|
||||
_ = x[ClientboundRecipe-61]
|
||||
_ = x[ClientboundRemoveEntities-62]
|
||||
_ = x[ClientboundRemoveMobEffect-63]
|
||||
_ = x[ClientboundResourcePack-64]
|
||||
_ = x[ClientboundRespawn-65]
|
||||
_ = x[ClientboundRotateHead-66]
|
||||
_ = x[ClientboundSectionBlocksUpdate-67]
|
||||
_ = x[ClientboundSelectAdvancementsTab-68]
|
||||
_ = x[ClientboundServerData-69]
|
||||
_ = x[ClientboundSetActionBarText-70]
|
||||
_ = x[ClientboundSetBorderCenter-71]
|
||||
_ = x[ClientboundSetBorderLerpSize-72]
|
||||
_ = x[ClientboundSetBorderSize-73]
|
||||
_ = x[ClientboundSetBorderWarningDelay-74]
|
||||
_ = x[ClientboundSetBorderWarningDistance-75]
|
||||
_ = x[ClientboundSetCamera-76]
|
||||
_ = x[ClientboundSetCarriedItem-77]
|
||||
_ = x[ClientboundSetChunkCacheCenter-78]
|
||||
_ = x[ClientboundSetChunkCacheRadius-79]
|
||||
_ = x[ClientboundSetDefaultSpawnPosition-80]
|
||||
_ = x[ClientboundSetDisplayObjective-81]
|
||||
_ = x[ClientboundSetEntityData-82]
|
||||
_ = x[ClientboundSetEntityLink-83]
|
||||
_ = x[ClientboundSetEntityMotion-84]
|
||||
_ = x[ClientboundSetEquipment-85]
|
||||
_ = x[ClientboundSetExperience-86]
|
||||
_ = x[ClientboundSetHealth-87]
|
||||
_ = x[ClientboundSetObjective-88]
|
||||
_ = x[ClientboundSetPassengers-89]
|
||||
_ = x[ClientboundSetPlayerTeam-90]
|
||||
_ = x[ClientboundSetScore-91]
|
||||
_ = x[ClientboundSetSimulationDistance-92]
|
||||
_ = x[ClientboundSetSubtitleText-93]
|
||||
_ = x[ClientboundSetTime-94]
|
||||
_ = x[ClientboundSetTitleText-95]
|
||||
_ = x[ClientboundSetTitlesAnimation-96]
|
||||
_ = x[ClientboundSoundEntity-97]
|
||||
_ = x[ClientboundSound-98]
|
||||
_ = x[ClientboundStopSound-99]
|
||||
_ = x[ClientboundSystemChat-100]
|
||||
_ = x[ClientboundTabList-101]
|
||||
_ = x[ClientboundTagQuery-102]
|
||||
_ = x[ClientboundTakeItemEntity-103]
|
||||
_ = x[ClientboundTeleportEntity-104]
|
||||
_ = x[ClientboundUpdateAdvancements-105]
|
||||
_ = x[ClientboundUpdateAttributes-106]
|
||||
_ = x[ClientboundUpdateEnabledFeatures-107]
|
||||
_ = x[ClientboundUpdateMobEffect-108]
|
||||
_ = x[ClientboundUpdateRecipes-109]
|
||||
_ = x[ClientboundUpdateTags-110]
|
||||
_ = x[ClientboundPacketIDGuard-111]
|
||||
_ = x[ClientboundAnimate-3]
|
||||
_ = x[ClientboundAwardStats-4]
|
||||
_ = x[ClientboundBlockChangedAck-5]
|
||||
_ = x[ClientboundBlockDestruction-6]
|
||||
_ = x[ClientboundBlockEntityData-7]
|
||||
_ = x[ClientboundBlockEvent-8]
|
||||
_ = x[ClientboundBlockUpdate-9]
|
||||
_ = x[ClientboundBossEvent-10]
|
||||
_ = x[ClientboundChangeDifficulty-11]
|
||||
_ = x[ClientboundChunkBatchFinished-12]
|
||||
_ = x[ClientboundChunkBatchStart-13]
|
||||
_ = x[ClientboundChunksBiomes-14]
|
||||
_ = x[ClientboundClearTitles-15]
|
||||
_ = x[ClientboundCommandSuggestions-16]
|
||||
_ = x[ClientboundCommands-17]
|
||||
_ = x[ClientboundContainerClose-18]
|
||||
_ = x[ClientboundContainerSetContent-19]
|
||||
_ = x[ClientboundContainerSetData-20]
|
||||
_ = x[ClientboundContainerSetSlot-21]
|
||||
_ = x[ClientboundCooldown-22]
|
||||
_ = x[ClientboundCustomChatCompletions-23]
|
||||
_ = x[ClientboundCustomPayload-24]
|
||||
_ = x[ClientboundDamageEvent-25]
|
||||
_ = x[ClientboundDeleteChat-26]
|
||||
_ = x[ClientboundDisconnect-27]
|
||||
_ = x[ClientboundDisguisedChat-28]
|
||||
_ = x[ClientboundEntityEvent-29]
|
||||
_ = x[ClientboundExplode-30]
|
||||
_ = x[ClientboundForgetLevelChunk-31]
|
||||
_ = x[ClientboundGameEvent-32]
|
||||
_ = x[ClientboundHorseScreenOpen-33]
|
||||
_ = x[ClientboundHurtAnimation-34]
|
||||
_ = x[ClientboundInitializeBorder-35]
|
||||
_ = x[ClientboundKeepAlive-36]
|
||||
_ = x[ClientboundLevelChunkWithLight-37]
|
||||
_ = x[ClientboundLevelEvent-38]
|
||||
_ = x[ClientboundLevelParticles-39]
|
||||
_ = x[ClientboundLightUpdate-40]
|
||||
_ = x[ClientboundLogin-41]
|
||||
_ = x[ClientboundMapItemData-42]
|
||||
_ = x[ClientboundMerchantOffers-43]
|
||||
_ = x[ClientboundMoveEntityPos-44]
|
||||
_ = x[ClientboundMoveEntityPosRot-45]
|
||||
_ = x[ClientboundMoveEntityRot-46]
|
||||
_ = x[ClientboundMoveVehicle-47]
|
||||
_ = x[ClientboundOpenBook-48]
|
||||
_ = x[ClientboundOpenScreen-49]
|
||||
_ = x[ClientboundOpenSignEditor-50]
|
||||
_ = x[ClientboundPing-51]
|
||||
_ = x[ClientboundPongResponse-52]
|
||||
_ = x[ClientboundPlaceGhostRecipe-53]
|
||||
_ = x[ClientboundPlayerAbilities-54]
|
||||
_ = x[ClientboundPlayerChat-55]
|
||||
_ = x[ClientboundPlayerCombatEnd-56]
|
||||
_ = x[ClientboundPlayerCombatEnter-57]
|
||||
_ = x[ClientboundPlayerCombatKill-58]
|
||||
_ = x[ClientboundPlayerInfoRemove-59]
|
||||
_ = x[ClientboundPlayerInfoUpdate-60]
|
||||
_ = x[ClientboundPlayerLookAt-61]
|
||||
_ = x[ClientboundPlayerPosition-62]
|
||||
_ = x[ClientboundRecipe-63]
|
||||
_ = x[ClientboundRemoveEntities-64]
|
||||
_ = x[ClientboundRemoveMobEffect-65]
|
||||
_ = x[ClientboundResourcePack-66]
|
||||
_ = x[ClientboundRespawn-67]
|
||||
_ = x[ClientboundRotateHead-68]
|
||||
_ = x[ClientboundSectionBlocksUpdate-69]
|
||||
_ = x[ClientboundSelectAdvancementsTab-70]
|
||||
_ = x[ClientboundServerData-71]
|
||||
_ = x[ClientboundSetActionBarText-72]
|
||||
_ = x[ClientboundSetBorderCenter-73]
|
||||
_ = x[ClientboundSetBorderLerpSize-74]
|
||||
_ = x[ClientboundSetBorderSize-75]
|
||||
_ = x[ClientboundSetBorderWarningDelay-76]
|
||||
_ = x[ClientboundSetBorderWarningDistance-77]
|
||||
_ = x[ClientboundSetCamera-78]
|
||||
_ = x[ClientboundSetCarriedItem-79]
|
||||
_ = x[ClientboundSetChunkCacheCenter-80]
|
||||
_ = x[ClientboundSetChunkCacheRadius-81]
|
||||
_ = x[ClientboundSetDefaultSpawnPosition-82]
|
||||
_ = x[ClientboundSetDisplayObjective-83]
|
||||
_ = x[ClientboundSetEntityData-84]
|
||||
_ = x[ClientboundSetEntityLink-85]
|
||||
_ = x[ClientboundSetEntityMotion-86]
|
||||
_ = x[ClientboundSetEquipment-87]
|
||||
_ = x[ClientboundSetExperience-88]
|
||||
_ = x[ClientboundSetHealth-89]
|
||||
_ = x[ClientboundSetObjective-90]
|
||||
_ = x[ClientboundSetPassengers-91]
|
||||
_ = x[ClientboundSetPlayerTeam-92]
|
||||
_ = x[ClientboundSetScore-93]
|
||||
_ = x[ClientboundSetSimulationDistance-94]
|
||||
_ = x[ClientboundSetSubtitleText-95]
|
||||
_ = x[ClientboundSetTime-96]
|
||||
_ = x[ClientboundSetTitleText-97]
|
||||
_ = x[ClientboundSetTitlesAnimation-98]
|
||||
_ = x[ClientboundSoundEntity-99]
|
||||
_ = x[ClientboundSound-100]
|
||||
_ = x[ClientboundStartConfiguration-101]
|
||||
_ = x[ClientboundStopSound-102]
|
||||
_ = x[ClientboundSystemChat-103]
|
||||
_ = x[ClientboundTabList-104]
|
||||
_ = x[ClientboundTagQuery-105]
|
||||
_ = x[ClientboundTakeItemEntity-106]
|
||||
_ = x[ClientboundTeleportEntity-107]
|
||||
_ = x[ClientboundUpdateAdvancements-108]
|
||||
_ = x[ClientboundUpdateAttributes-109]
|
||||
_ = x[ClientboundUpdateMobEffect-110]
|
||||
_ = 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 {
|
||||
if i < 0 || i >= ClientboundPacketID(len(_ClientboundPacketID_index)-1) {
|
||||
|
Reference in New Issue
Block a user