Update data to 1.19.4

This commit is contained in:
Tnze
2023-04-05 01:19:49 +08:00
parent 69f239550f
commit 4dfee51bfc
12 changed files with 8698 additions and 7581 deletions

View File

@ -8,119 +8,122 @@ func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ClientboundAddEntity-0]
_ = x[ClientboundAddExperienceOrb-1]
_ = x[ClientboundAddPlayer-2]
_ = 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[ClientboundClearTitles-12]
_ = x[ClientboundCommandSuggestions-13]
_ = x[ClientboundCommands-14]
_ = x[ClientboundContainerClose-15]
_ = x[ClientboundContainerSetContent-16]
_ = x[ClientboundContainerSetData-17]
_ = x[ClientboundContainerSetSlot-18]
_ = x[ClientboundCooldown-19]
_ = x[ClientboundCustomChatCompletions-20]
_ = x[ClientboundCustomPayload-21]
_ = x[ClientboundDeleteChat-22]
_ = x[ClientboundDisconnect-23]
_ = x[ClientboundDisguisedChat-24]
_ = x[ClientboundEntityEvent-25]
_ = x[ClientboundExplode-26]
_ = x[ClientboundForgetLevelChunk-27]
_ = x[ClientboundGameEvent-28]
_ = x[ClientboundHorseScreenOpen-29]
_ = x[ClientboundInitializeBorder-30]
_ = x[ClientboundKeepAlive-31]
_ = x[ClientboundLevelChunkWithLight-32]
_ = x[ClientboundLevelEvent-33]
_ = x[ClientboundLevelParticles-34]
_ = x[ClientboundLightUpdate-35]
_ = x[ClientboundLogin-36]
_ = x[ClientboundMapItemData-37]
_ = x[ClientboundMerchantOffers-38]
_ = x[ClientboundMoveEntityPos-39]
_ = x[ClientboundMoveEntityPosRot-40]
_ = x[ClientboundMoveEntityRot-41]
_ = x[ClientboundMoveVehicle-42]
_ = x[ClientboundOpenBook-43]
_ = x[ClientboundOpenScreen-44]
_ = x[ClientboundOpenSignEditor-45]
_ = x[ClientboundPing-46]
_ = x[ClientboundPlaceGhostRecipe-47]
_ = x[ClientboundPlayerAbilities-48]
_ = x[ClientboundPlayerChat-49]
_ = x[ClientboundPlayerCombatEnd-50]
_ = x[ClientboundPlayerCombatEnter-51]
_ = x[ClientboundPlayerCombatKill-52]
_ = x[ClientboundPlayerInfoRemove-53]
_ = x[ClientboundPlayerInfoUpdate-54]
_ = x[ClientboundPlayerLookAt-55]
_ = x[ClientboundPlayerPosition-56]
_ = x[ClientboundRecipe-57]
_ = x[ClientboundRemoveEntities-58]
_ = x[ClientboundRemoveMobEffect-59]
_ = x[ClientboundResourcePack-60]
_ = x[ClientboundRespawn-61]
_ = x[ClientboundRotateHead-62]
_ = x[ClientboundSectionBlocksUpdate-63]
_ = x[ClientboundSelectAdvancementsTab-64]
_ = x[ClientboundServerData-65]
_ = x[ClientboundSetActionBarText-66]
_ = x[ClientboundSetBorderCenter-67]
_ = x[ClientboundSetBorderLerpSize-68]
_ = x[ClientboundSetBorderSize-69]
_ = x[ClientboundSetBorderWarningDelay-70]
_ = x[ClientboundSetBorderWarningDistance-71]
_ = x[ClientboundSetCamera-72]
_ = x[ClientboundSetCarriedItem-73]
_ = x[ClientboundSetChunkCacheCenter-74]
_ = x[ClientboundSetChunkCacheRadius-75]
_ = x[ClientboundSetDefaultSpawnPosition-76]
_ = x[ClientboundSetDisplayObjective-77]
_ = x[ClientboundSetEntityData-78]
_ = x[ClientboundSetEntityLink-79]
_ = x[ClientboundSetEntityMotion-80]
_ = x[ClientboundSetEquipment-81]
_ = x[ClientboundSetExperience-82]
_ = x[ClientboundSetHealth-83]
_ = x[ClientboundSetObjective-84]
_ = x[ClientboundSetPassengers-85]
_ = x[ClientboundSetPlayerTeam-86]
_ = x[ClientboundSetScore-87]
_ = x[ClientboundSetSimulationDistance-88]
_ = x[ClientboundSetSubtitleText-89]
_ = x[ClientboundSetTime-90]
_ = x[ClientboundSetTitleText-91]
_ = x[ClientboundSetTitlesAnimation-92]
_ = x[ClientboundSoundEntity-93]
_ = x[ClientboundSound-94]
_ = x[ClientboundStopSound-95]
_ = x[ClientboundSystemChat-96]
_ = x[ClientboundTabList-97]
_ = x[ClientboundTagQuery-98]
_ = x[ClientboundTakeItemEntity-99]
_ = x[ClientboundTeleportEntity-100]
_ = x[ClientboundUpdateAdvancements-101]
_ = x[ClientboundUpdateAttributes-102]
_ = x[ClientboundUpdateEnabledFeatures-103]
_ = x[ClientboundUpdateMobEffect-104]
_ = x[ClientboundUpdateRecipes-105]
_ = x[ClientboundUpdateTags-106]
_ = x[ClientboundPacketIDGuard-107]
_ = 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]
}
const _ClientboundPacketID_name = "ClientboundAddEntityClientboundAddExperienceOrbClientboundAddPlayerClientboundAnimateClientboundAwardStatsClientboundBlockChangedAckClientboundBlockDestructionClientboundBlockEntityDataClientboundBlockEventClientboundBlockUpdateClientboundBossEventClientboundChangeDifficultyClientboundClearTitlesClientboundCommandSuggestionsClientboundCommandsClientboundContainerCloseClientboundContainerSetContentClientboundContainerSetDataClientboundContainerSetSlotClientboundCooldownClientboundCustomChatCompletionsClientboundCustomPayloadClientboundDeleteChatClientboundDisconnectClientboundDisguisedChatClientboundEntityEventClientboundExplodeClientboundForgetLevelChunkClientboundGameEventClientboundHorseScreenOpenClientboundInitializeBorderClientboundKeepAliveClientboundLevelChunkWithLightClientboundLevelEventClientboundLevelParticlesClientboundLightUpdateClientboundLoginClientboundMapItemDataClientboundMerchantOffersClientboundMoveEntityPosClientboundMoveEntityPosRotClientboundMoveEntityRotClientboundMoveVehicleClientboundOpenBookClientboundOpenScreenClientboundOpenSignEditorClientboundPingClientboundPlaceGhostRecipeClientboundPlayerAbilitiesClientboundPlayerChatClientboundPlayerCombatEndClientboundPlayerCombatEnterClientboundPlayerCombatKillClientboundPlayerInfoRemoveClientboundPlayerInfoUpdateClientboundPlayerLookAtClientboundPlayerPositionClientboundRecipeClientboundRemoveEntitiesClientboundRemoveMobEffectClientboundResourcePackClientboundRespawnClientboundRotateHeadClientboundSectionBlocksUpdateClientboundSelectAdvancementsTabClientboundServerDataClientboundSetActionBarTextClientboundSetBorderCenterClientboundSetBorderLerpSizeClientboundSetBorderSizeClientboundSetBorderWarningDelayClientboundSetBorderWarningDistanceClientboundSetCameraClientboundSetCarriedItemClientboundSetChunkCacheCenterClientboundSetChunkCacheRadiusClientboundSetDefaultSpawnPositionClientboundSetDisplayObjectiveClientboundSetEntityDataClientboundSetEntityLinkClientboundSetEntityMotionClientboundSetEquipmentClientboundSetExperienceClientboundSetHealthClientboundSetObjectiveClientboundSetPassengersClientboundSetPlayerTeamClientboundSetScoreClientboundSetSimulationDistanceClientboundSetSubtitleTextClientboundSetTimeClientboundSetTitleTextClientboundSetTitlesAnimationClientboundSoundEntityClientboundSoundClientboundStopSoundClientboundSystemChatClientboundTabListClientboundTagQueryClientboundTakeItemEntityClientboundTeleportEntityClientboundUpdateAdvancementsClientboundUpdateAttributesClientboundUpdateEnabledFeaturesClientboundUpdateMobEffectClientboundUpdateRecipesClientboundUpdateTagsClientboundPacketIDGuard"
const _ClientboundPacketID_name = "BundleDelimiterClientboundAddEntityClientboundAddExperienceOrbClientboundAddPlayerClientboundAnimateClientboundAwardStatsClientboundBlockChangedAckClientboundBlockDestructionClientboundBlockEntityDataClientboundBlockEventClientboundBlockUpdateClientboundBossEventClientboundChangeDifficultyClientboundChunksBiomesClientboundClearTitlesClientboundCommandSuggestionsClientboundCommandsClientboundContainerCloseClientboundContainerSetContentClientboundContainerSetDataClientboundContainerSetSlotClientboundCooldownClientboundCustomChatCompletionsClientboundCustomPayloadClientboundDamageEventClientboundDeleteChatClientboundDisconnectClientboundDisguisedChatClientboundEntityEventClientboundExplodeClientboundForgetLevelChunkClientboundGameEventClientboundHorseScreenOpenClientboundHurtAnimationClientboundInitializeBorderClientboundKeepAliveClientboundLevelChunkWithLightClientboundLevelEventClientboundLevelParticlesClientboundLightUpdateClientboundLoginClientboundMapItemDataClientboundMerchantOffersClientboundMoveEntityPosClientboundMoveEntityPosRotClientboundMoveEntityRotClientboundMoveVehicleClientboundOpenBookClientboundOpenScreenClientboundOpenSignEditorClientboundPingClientboundPlaceGhostRecipeClientboundPlayerAbilitiesClientboundPlayerChatClientboundPlayerCombatEndClientboundPlayerCombatEnterClientboundPlayerCombatKillClientboundPlayerInfoRemoveClientboundPlayerInfoUpdateClientboundPlayerLookAtClientboundPlayerPositionClientboundRecipeClientboundRemoveEntitiesClientboundRemoveMobEffectClientboundResourcePackClientboundRespawnClientboundRotateHeadClientboundSectionBlocksUpdateClientboundSelectAdvancementsTabClientboundServerDataClientboundSetActionBarTextClientboundSetBorderCenterClientboundSetBorderLerpSizeClientboundSetBorderSizeClientboundSetBorderWarningDelayClientboundSetBorderWarningDistanceClientboundSetCameraClientboundSetCarriedItemClientboundSetChunkCacheCenterClientboundSetChunkCacheRadiusClientboundSetDefaultSpawnPositionClientboundSetDisplayObjectiveClientboundSetEntityDataClientboundSetEntityLinkClientboundSetEntityMotionClientboundSetEquipmentClientboundSetExperienceClientboundSetHealthClientboundSetObjectiveClientboundSetPassengersClientboundSetPlayerTeamClientboundSetScoreClientboundSetSimulationDistanceClientboundSetSubtitleTextClientboundSetTimeClientboundSetTitleTextClientboundSetTitlesAnimationClientboundSoundEntityClientboundSoundClientboundStopSoundClientboundSystemChatClientboundTabListClientboundTagQueryClientboundTakeItemEntityClientboundTeleportEntityClientboundUpdateAdvancementsClientboundUpdateAttributesClientboundUpdateEnabledFeaturesClientboundUpdateMobEffectClientboundUpdateRecipesClientboundUpdateTags"
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}
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}
func (i ClientboundPacketID) String() string {
if i < 0 || i >= ClientboundPacketID(len(_ClientboundPacketID_index)-1) {