update data/packetid

This commit is contained in:
Tnze
2022-12-09 22:32:04 +08:00
parent 75f09e77d9
commit 0b7a5024aa
3 changed files with 133 additions and 133 deletions

View File

@ -20,107 +20,107 @@ func _() {
_ = x[ClientboundBlockUpdate-9] _ = x[ClientboundBlockUpdate-9]
_ = x[ClientboundBossEvent-10] _ = x[ClientboundBossEvent-10]
_ = x[ClientboundChangeDifficulty-11] _ = x[ClientboundChangeDifficulty-11]
_ = x[ClientboundChatPreview-12] _ = x[ClientboundClearTitles-12]
_ = x[ClientboundClearTitles-13] _ = x[ClientboundCommandSuggestions-13]
_ = x[ClientboundCommandSuggestions-14] _ = x[ClientboundCommands-14]
_ = x[ClientboundCommands-15] _ = x[ClientboundContainerClose-15]
_ = x[ClientboundContainerClose-16] _ = x[ClientboundContainerSetContent-16]
_ = x[ClientboundContainerSetContent-17] _ = x[ClientboundContainerSetData-17]
_ = x[ClientboundContainerSetData-18] _ = x[ClientboundContainerSetSlot-18]
_ = x[ClientboundContainerSetSlot-19] _ = x[ClientboundCooldown-19]
_ = x[ClientboundCooldown-20] _ = x[ClientboundCustomChatCompletions-20]
_ = x[ClientboundCustomChatCompletions-21] _ = x[ClientboundCustomPayload-21]
_ = x[ClientboundCustomPayload-22] _ = x[ClientboundDeleteChat-22]
_ = x[ClientboundCustomSound-23] _ = x[ClientboundDisconnect-23]
_ = x[ClientboundDeleteChat-24] _ = x[ClientboundDisguisedChat-24]
_ = x[ClientboundDisconnect-25] _ = x[ClientboundEntityEvent-25]
_ = x[ClientboundEntityEvent-26] _ = x[ClientboundExplode-26]
_ = x[ClientboundExplode-27] _ = x[ClientboundForgetLevelChunk-27]
_ = x[ClientboundForgetLevelChunk-28] _ = x[ClientboundGameEvent-28]
_ = x[ClientboundGameEvent-29] _ = x[ClientboundHorseScreenOpen-29]
_ = x[ClientboundHorseScreenOpen-30] _ = x[ClientboundInitializeBorder-30]
_ = x[ClientboundInitializeBorder-31] _ = x[ClientboundKeepAlive-31]
_ = x[ClientboundKeepAlive-32] _ = x[ClientboundLevelChunkWithLight-32]
_ = x[ClientboundLevelChunkWithLight-33] _ = x[ClientboundLevelEvent-33]
_ = x[ClientboundLevelEvent-34] _ = x[ClientboundLevelParticles-34]
_ = x[ClientboundLevelParticles-35] _ = x[ClientboundLightUpdate-35]
_ = x[ClientboundLightUpdate-36] _ = x[ClientboundLogin-36]
_ = x[ClientboundLogin-37] _ = x[ClientboundMapItemData-37]
_ = x[ClientboundMapItemData-38] _ = x[ClientboundMerchantOffers-38]
_ = x[ClientboundMerchantOffers-39] _ = x[ClientboundMoveEntityPos-39]
_ = x[ClientboundMoveEntityPos-40] _ = x[ClientboundMoveEntityPosRot-40]
_ = x[ClientboundMoveEntityPosRot-41] _ = x[ClientboundMoveEntityRot-41]
_ = x[ClientboundMoveEntityRot-42] _ = x[ClientboundMoveVehicle-42]
_ = x[ClientboundMoveVehicle-43] _ = x[ClientboundOpenBook-43]
_ = x[ClientboundOpenBook-44] _ = x[ClientboundOpenScreen-44]
_ = x[ClientboundOpenScreen-45] _ = x[ClientboundOpenSignEditor-45]
_ = x[ClientboundOpenSignEditor-46] _ = x[ClientboundPing-46]
_ = x[ClientboundPing-47] _ = x[ClientboundPlaceGhostRecipe-47]
_ = x[ClientboundPlaceGhostRecipe-48] _ = x[ClientboundPlayerAbilities-48]
_ = x[ClientboundPlayerAbilities-49] _ = x[ClientboundPlayerChat-49]
_ = x[ClientboundPlayerChatHeader-50] _ = x[ClientboundPlayerCombatEnd-50]
_ = x[ClientboundPlayerChat-51] _ = x[ClientboundPlayerCombatEnter-51]
_ = x[ClientboundPlayerCombatEnd-52] _ = x[ClientboundPlayerCombatKill-52]
_ = x[ClientboundPlayerCombatEnter-53] _ = x[ClientboundPlayerInfoRemove-53]
_ = x[ClientboundPlayerCombatKill-54] _ = x[ClientboundPlayerInfoUpdate-54]
_ = x[ClientboundPlayerInfo-55] _ = x[ClientboundPlayerLookAt-55]
_ = x[ClientboundPlayerLookAt-56] _ = x[ClientboundPlayerPosition-56]
_ = x[ClientboundPlayerPosition-57] _ = x[ClientboundRecipe-57]
_ = x[ClientboundRecipe-58] _ = x[ClientboundRemoveEntities-58]
_ = x[ClientboundRemoveEntities-59] _ = x[ClientboundRemoveMobEffect-59]
_ = x[ClientboundRemoveMobEffect-60] _ = x[ClientboundResourcePack-60]
_ = x[ClientboundResourcePack-61] _ = x[ClientboundRespawn-61]
_ = x[ClientboundRespawn-62] _ = x[ClientboundRotateHead-62]
_ = x[ClientboundRotateHead-63] _ = x[ClientboundSectionBlocksUpdate-63]
_ = x[ClientboundSectionBlocksUpdate-64] _ = x[ClientboundSelectAdvancementsTab-64]
_ = x[ClientboundSelectAdvancementsTab-65] _ = x[ClientboundServerData-65]
_ = x[ClientboundServerData-66] _ = x[ClientboundSetActionBarText-66]
_ = x[ClientboundSetActionBarText-67] _ = x[ClientboundSetBorderCenter-67]
_ = x[ClientboundSetBorderCenter-68] _ = x[ClientboundSetBorderLerpSize-68]
_ = x[ClientboundSetBorderLerpSize-69] _ = x[ClientboundSetBorderSize-69]
_ = x[ClientboundSetBorderSize-70] _ = x[ClientboundSetBorderWarningDelay-70]
_ = x[ClientboundSetBorderWarningDelay-71] _ = x[ClientboundSetBorderWarningDistance-71]
_ = x[ClientboundSetBorderWarningDistance-72] _ = x[ClientboundSetCamera-72]
_ = x[ClientboundSetCamera-73] _ = x[ClientboundSetCarriedItem-73]
_ = x[ClientboundSetCarriedItem-74] _ = x[ClientboundSetChunkCacheCenter-74]
_ = x[ClientboundSetChunkCacheCenter-75] _ = x[ClientboundSetChunkCacheRadius-75]
_ = x[ClientboundSetChunkCacheRadius-76] _ = x[ClientboundSetDefaultSpawnPosition-76]
_ = x[ClientboundSetDefaultSpawnPosition-77] _ = x[ClientboundSetDisplayObjective-77]
_ = x[ClientboundSetDisplayChatPreview-78] _ = x[ClientboundSetEntityData-78]
_ = x[ClientboundSetDisplayObjective-79] _ = x[ClientboundSetEntityLink-79]
_ = x[ClientboundSetEntityData-80] _ = x[ClientboundSetEntityMotion-80]
_ = x[ClientboundSetEntityLink-81] _ = x[ClientboundSetEquipment-81]
_ = x[ClientboundSetEntityMotion-82] _ = x[ClientboundSetExperience-82]
_ = x[ClientboundSetEquipment-83] _ = x[ClientboundSetHealth-83]
_ = x[ClientboundSetExperience-84] _ = x[ClientboundSetObjective-84]
_ = x[ClientboundSetHealth-85] _ = x[ClientboundSetPassengers-85]
_ = x[ClientboundSetObjective-86] _ = x[ClientboundSetPlayerTeam-86]
_ = x[ClientboundSetPassengers-87] _ = x[ClientboundSetScore-87]
_ = x[ClientboundSetPlayerTeam-88] _ = x[ClientboundSetSimulationDistance-88]
_ = x[ClientboundSetScore-89] _ = x[ClientboundSetSubtitleText-89]
_ = x[ClientboundSetSimulationDistance-90] _ = x[ClientboundSetTime-90]
_ = x[ClientboundSetSubtitleText-91] _ = x[ClientboundSetTitleText-91]
_ = x[ClientboundSetTime-92] _ = x[ClientboundSetTitlesAnimation-92]
_ = x[ClientboundSetTitleText-93] _ = x[ClientboundSoundEntity-93]
_ = x[ClientboundSetTitlesAnimation-94] _ = x[ClientboundSound-94]
_ = x[ClientboundSoundEntity-95] _ = x[ClientboundStopSound-95]
_ = x[ClientboundSound-96] _ = x[ClientboundSystemChat-96]
_ = x[ClientboundStopSound-97] _ = x[ClientboundTabList-97]
_ = x[ClientboundSystemChat-98] _ = x[ClientboundTagQuery-98]
_ = x[ClientboundTabList-99] _ = x[ClientboundTakeItemEntity-99]
_ = x[ClientboundTagQuery-100] _ = x[ClientboundTeleportEntity-100]
_ = x[ClientboundTakeItemEntity-101] _ = x[ClientboundUpdateAdvancements-101]
_ = x[ClientboundTeleportEntity-102] _ = x[ClientboundUpdateAttributes-102]
_ = x[ClientboundUpdateAdvancements-103] _ = x[ClientboundUpdateEnabledFeatures-103]
_ = x[ClientboundUpdateAttributes-104] _ = x[ClientboundUpdateMobEffect-104]
_ = x[ClientboundUpdateMobEffect-105] _ = x[ClientboundUpdateRecipes-105]
_ = x[ClientboundUpdateRecipes-106] _ = x[ClientboundUpdateTags-106]
_ = x[ClientboundUpdateTags-107] _ = x[ClientboundPacketIDGuard-107]
} }
const _ClientboundPacketID_name = "ClientboundAddEntityClientboundAddExperienceOrbClientboundAddPlayerClientboundAnimateClientboundAwardStatsClientboundBlockChangedAckClientboundBlockDestructionClientboundBlockEntityDataClientboundBlockEventClientboundBlockUpdateClientboundBossEventClientboundChangeDifficultyClientboundChatPreviewClientboundClearTitlesClientboundCommandSuggestionsClientboundCommandsClientboundContainerCloseClientboundContainerSetContentClientboundContainerSetDataClientboundContainerSetSlotClientboundCooldownClientboundCustomChatCompletionsClientboundCustomPayloadClientboundCustomSoundClientboundDeleteChatClientboundDisconnectClientboundEntityEventClientboundExplodeClientboundForgetLevelChunkClientboundGameEventClientboundHorseScreenOpenClientboundInitializeBorderClientboundKeepAliveClientboundLevelChunkWithLightClientboundLevelEventClientboundLevelParticlesClientboundLightUpdateClientboundLoginClientboundMapItemDataClientboundMerchantOffersClientboundMoveEntityPosClientboundMoveEntityPosRotClientboundMoveEntityRotClientboundMoveVehicleClientboundOpenBookClientboundOpenScreenClientboundOpenSignEditorClientboundPingClientboundPlaceGhostRecipeClientboundPlayerAbilitiesClientboundPlayerChatHeaderClientboundPlayerChatClientboundPlayerCombatEndClientboundPlayerCombatEnterClientboundPlayerCombatKillClientboundPlayerInfoClientboundPlayerLookAtClientboundPlayerPositionClientboundRecipeClientboundRemoveEntitiesClientboundRemoveMobEffectClientboundResourcePackClientboundRespawnClientboundRotateHeadClientboundSectionBlocksUpdateClientboundSelectAdvancementsTabClientboundServerDataClientboundSetActionBarTextClientboundSetBorderCenterClientboundSetBorderLerpSizeClientboundSetBorderSizeClientboundSetBorderWarningDelayClientboundSetBorderWarningDistanceClientboundSetCameraClientboundSetCarriedItemClientboundSetChunkCacheCenterClientboundSetChunkCacheRadiusClientboundSetDefaultSpawnPositionClientboundSetDisplayChatPreviewClientboundSetDisplayObjectiveClientboundSetEntityDataClientboundSetEntityLinkClientboundSetEntityMotionClientboundSetEquipmentClientboundSetExperienceClientboundSetHealthClientboundSetObjectiveClientboundSetPassengersClientboundSetPlayerTeamClientboundSetScoreClientboundSetSimulationDistanceClientboundSetSubtitleTextClientboundSetTimeClientboundSetTitleTextClientboundSetTitlesAnimationClientboundSoundEntityClientboundSoundClientboundStopSoundClientboundSystemChatClientboundTabListClientboundTagQueryClientboundTakeItemEntityClientboundTeleportEntityClientboundUpdateAdvancementsClientboundUpdateAttributesClientboundUpdateMobEffectClientboundUpdateRecipesClientboundUpdateTags" const _ClientboundPacketID_name = "ClientboundAddEntityClientboundAddExperienceOrbClientboundAddPlayerClientboundAnimateClientboundAwardStatsClientboundBlockChangedAckClientboundBlockDestructionClientboundBlockEntityDataClientboundBlockEventClientboundBlockUpdateClientboundBossEventClientboundChangeDifficultyClientboundClearTitlesClientboundCommandSuggestionsClientboundCommandsClientboundContainerCloseClientboundContainerSetContentClientboundContainerSetDataClientboundContainerSetSlotClientboundCooldownClientboundCustomChatCompletionsClientboundCustomPayloadClientboundDeleteChatClientboundDisconnectClientboundDisguisedChatClientboundEntityEventClientboundExplodeClientboundForgetLevelChunkClientboundGameEventClientboundHorseScreenOpenClientboundInitializeBorderClientboundKeepAliveClientboundLevelChunkWithLightClientboundLevelEventClientboundLevelParticlesClientboundLightUpdateClientboundLoginClientboundMapItemDataClientboundMerchantOffersClientboundMoveEntityPosClientboundMoveEntityPosRotClientboundMoveEntityRotClientboundMoveVehicleClientboundOpenBookClientboundOpenScreenClientboundOpenSignEditorClientboundPingClientboundPlaceGhostRecipeClientboundPlayerAbilitiesClientboundPlayerChatClientboundPlayerCombatEndClientboundPlayerCombatEnterClientboundPlayerCombatKillClientboundPlayerInfoRemoveClientboundPlayerInfoUpdateClientboundPlayerLookAtClientboundPlayerPositionClientboundRecipeClientboundRemoveEntitiesClientboundRemoveMobEffectClientboundResourcePackClientboundRespawnClientboundRotateHeadClientboundSectionBlocksUpdateClientboundSelectAdvancementsTabClientboundServerDataClientboundSetActionBarTextClientboundSetBorderCenterClientboundSetBorderLerpSizeClientboundSetBorderSizeClientboundSetBorderWarningDelayClientboundSetBorderWarningDistanceClientboundSetCameraClientboundSetCarriedItemClientboundSetChunkCacheCenterClientboundSetChunkCacheRadiusClientboundSetDefaultSpawnPositionClientboundSetDisplayObjectiveClientboundSetEntityDataClientboundSetEntityLinkClientboundSetEntityMotionClientboundSetEquipmentClientboundSetExperienceClientboundSetHealthClientboundSetObjectiveClientboundSetPassengersClientboundSetPlayerTeamClientboundSetScoreClientboundSetSimulationDistanceClientboundSetSubtitleTextClientboundSetTimeClientboundSetTitleTextClientboundSetTitlesAnimationClientboundSoundEntityClientboundSoundClientboundStopSoundClientboundSystemChatClientboundTabListClientboundTagQueryClientboundTakeItemEntityClientboundTeleportEntityClientboundUpdateAdvancementsClientboundUpdateAttributesClientboundUpdateEnabledFeaturesClientboundUpdateMobEffectClientboundUpdateRecipesClientboundUpdateTagsClientboundPacketIDGuard"
var _ClientboundPacketID_index = [...]uint16{0, 20, 47, 67, 85, 106, 132, 159, 185, 206, 228, 248, 275, 297, 319, 348, 367, 392, 422, 449, 476, 495, 527, 551, 573, 594, 615, 637, 655, 682, 702, 728, 755, 775, 805, 826, 851, 873, 889, 911, 936, 960, 987, 1011, 1033, 1052, 1073, 1098, 1113, 1140, 1166, 1193, 1214, 1240, 1268, 1295, 1316, 1339, 1364, 1381, 1406, 1432, 1455, 1473, 1494, 1524, 1556, 1577, 1604, 1630, 1658, 1682, 1714, 1749, 1769, 1794, 1824, 1854, 1888, 1920, 1950, 1974, 1998, 2024, 2047, 2071, 2091, 2114, 2138, 2162, 2181, 2213, 2239, 2257, 2280, 2309, 2331, 2347, 2367, 2388, 2406, 2425, 2450, 2475, 2504, 2531, 2557, 2581, 2602} var _ClientboundPacketID_index = [...]uint16{0, 20, 47, 67, 85, 106, 132, 159, 185, 206, 228, 248, 275, 297, 326, 345, 370, 400, 427, 454, 473, 505, 529, 550, 571, 595, 617, 635, 662, 682, 708, 735, 755, 785, 806, 831, 853, 869, 891, 916, 940, 967, 991, 1013, 1032, 1053, 1078, 1093, 1120, 1146, 1167, 1193, 1221, 1248, 1275, 1302, 1325, 1350, 1367, 1392, 1418, 1441, 1459, 1480, 1510, 1542, 1563, 1590, 1616, 1644, 1668, 1700, 1735, 1755, 1780, 1810, 1840, 1874, 1904, 1928, 1952, 1978, 2001, 2025, 2045, 2068, 2092, 2116, 2135, 2167, 2193, 2211, 2234, 2263, 2285, 2301, 2321, 2342, 2360, 2379, 2404, 2429, 2458, 2485, 2517, 2543, 2567, 2588, 2612}
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

@ -49,7 +49,6 @@ const (
ClientboundBlockUpdate ClientboundBlockUpdate
ClientboundBossEvent ClientboundBossEvent
ClientboundChangeDifficulty ClientboundChangeDifficulty
ClientboundChatPreview
ClientboundClearTitles ClientboundClearTitles
ClientboundCommandSuggestions ClientboundCommandSuggestions
ClientboundCommands ClientboundCommands
@ -60,9 +59,9 @@ const (
ClientboundCooldown ClientboundCooldown
ClientboundCustomChatCompletions ClientboundCustomChatCompletions
ClientboundCustomPayload ClientboundCustomPayload
ClientboundCustomSound
ClientboundDeleteChat ClientboundDeleteChat
ClientboundDisconnect ClientboundDisconnect
ClientboundDisguisedChat
ClientboundEntityEvent ClientboundEntityEvent
ClientboundExplode ClientboundExplode
ClientboundForgetLevelChunk ClientboundForgetLevelChunk
@ -87,12 +86,12 @@ const (
ClientboundPing ClientboundPing
ClientboundPlaceGhostRecipe ClientboundPlaceGhostRecipe
ClientboundPlayerAbilities ClientboundPlayerAbilities
ClientboundPlayerChatHeader
ClientboundPlayerChat ClientboundPlayerChat
ClientboundPlayerCombatEnd ClientboundPlayerCombatEnd
ClientboundPlayerCombatEnter ClientboundPlayerCombatEnter
ClientboundPlayerCombatKill ClientboundPlayerCombatKill
ClientboundPlayerInfo ClientboundPlayerInfoRemove
ClientboundPlayerInfoUpdate
ClientboundPlayerLookAt ClientboundPlayerLookAt
ClientboundPlayerPosition ClientboundPlayerPosition
ClientboundRecipe ClientboundRecipe
@ -115,7 +114,6 @@ const (
ClientboundSetChunkCacheCenter ClientboundSetChunkCacheCenter
ClientboundSetChunkCacheRadius ClientboundSetChunkCacheRadius
ClientboundSetDefaultSpawnPosition ClientboundSetDefaultSpawnPosition
ClientboundSetDisplayChatPreview
ClientboundSetDisplayObjective ClientboundSetDisplayObjective
ClientboundSetEntityData ClientboundSetEntityData
ClientboundSetEntityLink ClientboundSetEntityLink
@ -142,6 +140,7 @@ const (
ClientboundTeleportEntity ClientboundTeleportEntity
ClientboundUpdateAdvancements ClientboundUpdateAdvancements
ClientboundUpdateAttributes ClientboundUpdateAttributes
ClientboundUpdateEnabledFeatures
ClientboundUpdateMobEffect ClientboundUpdateMobEffect
ClientboundUpdateRecipes ClientboundUpdateRecipes
ClientboundUpdateTags ClientboundUpdateTags
@ -156,7 +155,6 @@ const (
ServerboundChatAck ServerboundChatAck
ServerboundChatCommand ServerboundChatCommand
ServerboundChat ServerboundChat
ServerboundChatPreview
ServerboundClientCommand ServerboundClientCommand
ServerboundClientInformation ServerboundClientInformation
ServerboundCommandSuggestion ServerboundCommandSuggestion
@ -183,6 +181,7 @@ const (
ServerboundPlayerCommand ServerboundPlayerCommand
ServerboundPlayerInput ServerboundPlayerInput
ServerboundPong ServerboundPong
ServerboundChatSessionUpdate
ServerboundRecipeBookChangeSettings ServerboundRecipeBookChangeSettings
ServerboundRecipeBookSeenRecipe ServerboundRecipeBookSeenRecipe
ServerboundRenameItem ServerboundRenameItem

View File

@ -14,33 +14,33 @@ func _() {
_ = x[ServerboundChatAck-3] _ = x[ServerboundChatAck-3]
_ = x[ServerboundChatCommand-4] _ = x[ServerboundChatCommand-4]
_ = x[ServerboundChat-5] _ = x[ServerboundChat-5]
_ = x[ServerboundChatPreview-6] _ = x[ServerboundClientCommand-6]
_ = x[ServerboundClientCommand-7] _ = x[ServerboundClientInformation-7]
_ = x[ServerboundClientInformation-8] _ = x[ServerboundCommandSuggestion-8]
_ = x[ServerboundCommandSuggestion-9] _ = x[ServerboundContainerButtonClick-9]
_ = x[ServerboundContainerButtonClick-10] _ = x[ServerboundContainerClick-10]
_ = x[ServerboundContainerClick-11] _ = x[ServerboundContainerClose-11]
_ = x[ServerboundContainerClose-12] _ = x[ServerboundCustomPayload-12]
_ = x[ServerboundCustomPayload-13] _ = x[ServerboundEditBook-13]
_ = x[ServerboundEditBook-14] _ = x[ServerboundEntityTagQuery-14]
_ = x[ServerboundEntityTagQuery-15] _ = x[ServerboundInteract-15]
_ = x[ServerboundInteract-16] _ = x[ServerboundJigsawGenerate-16]
_ = x[ServerboundJigsawGenerate-17] _ = x[ServerboundKeepAlive-17]
_ = x[ServerboundKeepAlive-18] _ = x[ServerboundLockDifficulty-18]
_ = x[ServerboundLockDifficulty-19] _ = x[ServerboundMovePlayerPos-19]
_ = x[ServerboundMovePlayerPos-20] _ = x[ServerboundMovePlayerPosRot-20]
_ = x[ServerboundMovePlayerPosRot-21] _ = x[ServerboundMovePlayerRot-21]
_ = x[ServerboundMovePlayerRot-22] _ = x[ServerboundMovePlayerStatusOnly-22]
_ = x[ServerboundMovePlayerStatusOnly-23] _ = x[ServerboundMoveVehicle-23]
_ = x[ServerboundMoveVehicle-24] _ = x[ServerboundPaddleBoat-24]
_ = x[ServerboundPaddleBoat-25] _ = x[ServerboundPickItem-25]
_ = x[ServerboundPickItem-26] _ = x[ServerboundPlaceRecipe-26]
_ = x[ServerboundPlaceRecipe-27] _ = x[ServerboundPlayerAbilities-27]
_ = x[ServerboundPlayerAbilities-28] _ = x[ServerboundPlayerAction-28]
_ = x[ServerboundPlayerAction-29] _ = x[ServerboundPlayerCommand-29]
_ = x[ServerboundPlayerCommand-30] _ = x[ServerboundPlayerInput-30]
_ = x[ServerboundPlayerInput-31] _ = x[ServerboundPong-31]
_ = x[ServerboundPong-32] _ = x[ServerboundChatSessionUpdate-32]
_ = x[ServerboundRecipeBookChangeSettings-33] _ = x[ServerboundRecipeBookChangeSettings-33]
_ = x[ServerboundRecipeBookSeenRecipe-34] _ = x[ServerboundRecipeBookSeenRecipe-34]
_ = x[ServerboundRenameItem-35] _ = x[ServerboundRenameItem-35]
@ -59,11 +59,12 @@ func _() {
_ = x[ServerboundTeleportToEntity-48] _ = x[ServerboundTeleportToEntity-48]
_ = x[ServerboundUseItemOn-49] _ = x[ServerboundUseItemOn-49]
_ = x[ServerboundUseItem-50] _ = x[ServerboundUseItem-50]
_ = x[ServerboundPacketIDGuard-51]
} }
const _ServerboundPacketID_name = "ServerboundAcceptTeleportationServerboundBlockEntityTagQueryServerboundChangeDifficultyServerboundChatAckServerboundChatCommandServerboundChatServerboundChatPreviewServerboundClientCommandServerboundClientInformationServerboundCommandSuggestionServerboundContainerButtonClickServerboundContainerClickServerboundContainerCloseServerboundCustomPayloadServerboundEditBookServerboundEntityTagQueryServerboundInteractServerboundJigsawGenerateServerboundKeepAliveServerboundLockDifficultyServerboundMovePlayerPosServerboundMovePlayerPosRotServerboundMovePlayerRotServerboundMovePlayerStatusOnlyServerboundMoveVehicleServerboundPaddleBoatServerboundPickItemServerboundPlaceRecipeServerboundPlayerAbilitiesServerboundPlayerActionServerboundPlayerCommandServerboundPlayerInputServerboundPongServerboundRecipeBookChangeSettingsServerboundRecipeBookSeenRecipeServerboundRenameItemServerboundResourcePackServerboundSeenAdvancementsServerboundSelectTradeServerboundSetBeaconServerboundSetCarriedItemServerboundSetCommandBlockServerboundSetCommandMinecartServerboundSetCreativeModeSlotServerboundSetJigsawBlockServerboundSetStructureBlockServerboundSignUpdateServerboundSwingServerboundTeleportToEntityServerboundUseItemOnServerboundUseItem" const _ServerboundPacketID_name = "ServerboundAcceptTeleportationServerboundBlockEntityTagQueryServerboundChangeDifficultyServerboundChatAckServerboundChatCommandServerboundChatServerboundClientCommandServerboundClientInformationServerboundCommandSuggestionServerboundContainerButtonClickServerboundContainerClickServerboundContainerCloseServerboundCustomPayloadServerboundEditBookServerboundEntityTagQueryServerboundInteractServerboundJigsawGenerateServerboundKeepAliveServerboundLockDifficultyServerboundMovePlayerPosServerboundMovePlayerPosRotServerboundMovePlayerRotServerboundMovePlayerStatusOnlyServerboundMoveVehicleServerboundPaddleBoatServerboundPickItemServerboundPlaceRecipeServerboundPlayerAbilitiesServerboundPlayerActionServerboundPlayerCommandServerboundPlayerInputServerboundPongServerboundChatSessionUpdateServerboundRecipeBookChangeSettingsServerboundRecipeBookSeenRecipeServerboundRenameItemServerboundResourcePackServerboundSeenAdvancementsServerboundSelectTradeServerboundSetBeaconServerboundSetCarriedItemServerboundSetCommandBlockServerboundSetCommandMinecartServerboundSetCreativeModeSlotServerboundSetJigsawBlockServerboundSetStructureBlockServerboundSignUpdateServerboundSwingServerboundTeleportToEntityServerboundUseItemOnServerboundUseItemServerboundPacketIDGuard"
var _ServerboundPacketID_index = [...]uint16{0, 30, 60, 87, 105, 127, 142, 164, 188, 216, 244, 275, 300, 325, 349, 368, 393, 412, 437, 457, 482, 506, 533, 557, 588, 610, 631, 650, 672, 698, 721, 745, 767, 782, 817, 848, 869, 892, 919, 941, 961, 986, 1012, 1041, 1071, 1096, 1124, 1145, 1161, 1188, 1208, 1226} var _ServerboundPacketID_index = [...]uint16{0, 30, 60, 87, 105, 127, 142, 166, 194, 222, 253, 278, 303, 327, 346, 371, 390, 415, 435, 460, 484, 511, 535, 566, 588, 609, 628, 650, 676, 699, 723, 745, 760, 788, 823, 854, 875, 898, 925, 947, 967, 992, 1018, 1047, 1077, 1102, 1130, 1151, 1167, 1194, 1214, 1232, 1256}
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) {