1.20.4 update

This commit is contained in:
SushiLeader
2024-04-27 17:15:48 +08:00
parent 479eddc639
commit eca78280cc
11 changed files with 592 additions and 179 deletions

View File

@ -8,6 +8,22 @@ 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[ClientboundLoginDisconnect-0]
_ = x[ClientboundLoginEncryptionRequest-1]
_ = x[ClientboundLoginSuccess-2]
_ = x[ClientboundLoginCompression-3]
_ = x[ClientboundLoginPluginRequest-4]
_ = x[ClientboundStatusResponse-0]
_ = x[ClientboundStatusPongResponse-1]
_ = x[ClientboundConfigCustomPayload-0]
_ = x[ClientboundConfigDisconnect-1]
_ = x[ClientboundConfigFinishConfiguration-2]
_ = x[ClientboundConfigKeepAlive-3]
_ = x[ClientboundConfigPing-4]
_ = x[ClientboundConfigRegistryData-5]
_ = x[ClientboundConfigResourcePack-6]
_ = x[ClientboundConfigUpdateEnabledFeatures-7]
_ = x[ClientboundConfigUpdateTags-8]
_ = x[BundleDelimiter-0]
_ = x[ClientboundAddEntity-1]
_ = x[ClientboundAddExperienceOrb-2]
@ -74,58 +90,63 @@ func _() {
_ = 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]
_ = x[ClientboundResetScore-66]
_ = x[ClientboundResourcePackPop-67]
_ = x[ClientboundResourcePackPush-68]
_ = x[ClientboundRespawn-69]
_ = x[ClientboundRotateHead-70]
_ = x[ClientboundSectionBlocksUpdate-71]
_ = x[ClientboundSelectAdvancementsTab-72]
_ = x[ClientboundServerData-73]
_ = x[ClientboundSetActionBarText-74]
_ = x[ClientboundSetBorderCenter-75]
_ = x[ClientboundSetBorderLerpSize-76]
_ = x[ClientboundSetBorderSize-77]
_ = x[ClientboundSetBorderWarningDelay-78]
_ = x[ClientboundSetBorderWarningDistance-79]
_ = x[ClientboundSetCamera-80]
_ = x[ClientboundSetCarriedItem-81]
_ = x[ClientboundSetChunkCacheCenter-82]
_ = x[ClientboundSetChunkCacheRadius-83]
_ = x[ClientboundSetDefaultSpawnPosition-84]
_ = x[ClientboundSetDisplayObjective-85]
_ = x[ClientboundSetEntityData-86]
_ = x[ClientboundSetEntityLink-87]
_ = x[ClientboundSetEntityMotion-88]
_ = x[ClientboundSetEquipment-89]
_ = x[ClientboundSetExperience-90]
_ = x[ClientboundSetHealth-91]
_ = x[ClientboundSetObjective-92]
_ = x[ClientboundSetPassengers-93]
_ = x[ClientboundSetPlayerTeam-94]
_ = x[ClientboundSetScore-95]
_ = x[ClientboundSetSimulationDistance-96]
_ = x[ClientboundSetSubtitleText-97]
_ = x[ClientboundSetTime-98]
_ = x[ClientboundSetTitleText-99]
_ = x[ClientboundSetTitlesAnimation-100]
_ = x[ClientboundSoundEntity-101]
_ = x[ClientboundSound-102]
_ = x[ClientboundStartConfiguration-103]
_ = x[ClientboundStopSound-104]
_ = x[ClientboundSystemChat-105]
_ = x[ClientboundTabList-106]
_ = x[ClientboundTagQuery-107]
_ = x[ClientboundTakeItemEntity-108]
_ = x[ClientboundTeleportEntity-109]
_ = x[ClientboundTickingState-110]
_ = x[ClientboundTickingStep-111]
_ = x[ClientboundUpdateAdvancements-112]
_ = x[ClientboundUpdateAttributes-113]
_ = x[ClientboundUpdateMobEffect-114]
_ = x[ClientboundUpdateRecipes-115]
_ = x[ClientboundUpdateTags-116]
_ = x[ClientboundPacketIDGuard-117]
}
const _ClientboundPacketID_name = "BundleDelimiterClientboundAddEntityClientboundAddExperienceOrbClientboundAnimateClientboundAwardStatsClientboundBlockChangedAckClientboundBlockDestructionClientboundBlockEntityDataClientboundBlockEventClientboundBlockUpdateClientboundBossEventClientboundChangeDifficultyClientboundChunkBatchFinishedClientboundChunkBatchStartClientboundChunksBiomesClientboundClearTitlesClientboundCommandSuggestionsClientboundCommandsClientboundContainerCloseClientboundContainerSetContentClientboundContainerSetDataClientboundContainerSetSlotClientboundCooldownClientboundCustomChatCompletionsClientboundCustomPayloadClientboundDamageEventClientboundDeleteChatClientboundDisconnectClientboundDisguisedChatClientboundEntityEventClientboundExplodeClientboundForgetLevelChunkClientboundGameEventClientboundHorseScreenOpenClientboundHurtAnimationClientboundInitializeBorderClientboundKeepAliveClientboundLevelChunkWithLightClientboundLevelEventClientboundLevelParticlesClientboundLightUpdateClientboundLoginClientboundMapItemDataClientboundMerchantOffersClientboundMoveEntityPosClientboundMoveEntityPosRotClientboundMoveEntityRotClientboundMoveVehicleClientboundOpenBookClientboundOpenScreenClientboundOpenSignEditorClientboundPingClientboundPongResponseClientboundPlaceGhostRecipeClientboundPlayerAbilitiesClientboundPlayerChatClientboundPlayerCombatEndClientboundPlayerCombatEnterClientboundPlayerCombatKillClientboundPlayerInfoRemoveClientboundPlayerInfoUpdateClientboundPlayerLookAtClientboundPlayerPositionClientboundRecipeClientboundRemoveEntitiesClientboundRemoveMobEffectClientboundResourcePackClientboundRespawnClientboundRotateHeadClientboundSectionBlocksUpdateClientboundSelectAdvancementsTabClientboundServerDataClientboundSetActionBarTextClientboundSetBorderCenterClientboundSetBorderLerpSizeClientboundSetBorderSizeClientboundSetBorderWarningDelayClientboundSetBorderWarningDistanceClientboundSetCameraClientboundSetCarriedItemClientboundSetChunkCacheCenterClientboundSetChunkCacheRadiusClientboundSetDefaultSpawnPositionClientboundSetDisplayObjectiveClientboundSetEntityDataClientboundSetEntityLinkClientboundSetEntityMotionClientboundSetEquipmentClientboundSetExperienceClientboundSetHealthClientboundSetObjectiveClientboundSetPassengersClientboundSetPlayerTeamClientboundSetScoreClientboundSetSimulationDistanceClientboundSetSubtitleTextClientboundSetTimeClientboundSetTitleTextClientboundSetTitlesAnimationClientboundSoundEntityClientboundSoundClientboundStartConfigurationClientboundStopSoundClientboundSystemChatClientboundTabListClientboundTagQueryClientboundTakeItemEntityClientboundTeleportEntityClientboundUpdateAdvancementsClientboundUpdateAttributesClientboundUpdateMobEffectClientboundUpdateRecipesClientboundUpdateTags"
const _ClientboundPacketID_name = "ClientboundLoginDisconnectClientboundLoginEncryptionRequestClientboundLoginSuccessClientboundLoginCompressionClientboundLoginPluginRequestClientboundConfigRegistryDataClientboundConfigResourcePackClientboundConfigUpdateEnabledFeaturesClientboundConfigUpdateTagsClientboundBlockUpdateClientboundBossEventClientboundChangeDifficultyClientboundChunkBatchFinishedClientboundChunkBatchStartClientboundChunksBiomesClientboundClearTitlesClientboundCommandSuggestionsClientboundCommandsClientboundContainerCloseClientboundContainerSetContentClientboundContainerSetDataClientboundContainerSetSlotClientboundCooldownClientboundCustomChatCompletionsClientboundCustomPayloadClientboundDamageEventClientboundDeleteChatClientboundDisconnectClientboundDisguisedChatClientboundEntityEventClientboundExplodeClientboundForgetLevelChunkClientboundGameEventClientboundHorseScreenOpenClientboundHurtAnimationClientboundInitializeBorderClientboundKeepAliveClientboundLevelChunkWithLightClientboundLevelEventClientboundLevelParticlesClientboundLightUpdateClientboundLoginClientboundMapItemDataClientboundMerchantOffersClientboundMoveEntityPosClientboundMoveEntityPosRotClientboundMoveEntityRotClientboundMoveVehicleClientboundOpenBookClientboundOpenScreenClientboundOpenSignEditorClientboundPingClientboundPongResponseClientboundPlaceGhostRecipeClientboundPlayerAbilitiesClientboundPlayerChatClientboundPlayerCombatEndClientboundPlayerCombatEnterClientboundPlayerCombatKillClientboundPlayerInfoRemoveClientboundPlayerInfoUpdateClientboundPlayerLookAtClientboundPlayerPositionClientboundRecipeClientboundRemoveEntitiesClientboundRemoveMobEffectClientboundResetScoreClientboundResourcePackPopClientboundResourcePackPushClientboundRespawnClientboundRotateHeadClientboundSectionBlocksUpdateClientboundSelectAdvancementsTabClientboundServerDataClientboundSetActionBarTextClientboundSetBorderCenterClientboundSetBorderLerpSizeClientboundSetBorderSizeClientboundSetBorderWarningDelayClientboundSetBorderWarningDistanceClientboundSetCameraClientboundSetCarriedItemClientboundSetChunkCacheCenterClientboundSetChunkCacheRadiusClientboundSetDefaultSpawnPositionClientboundSetDisplayObjectiveClientboundSetEntityDataClientboundSetEntityLinkClientboundSetEntityMotionClientboundSetEquipmentClientboundSetExperienceClientboundSetHealthClientboundSetObjectiveClientboundSetPassengersClientboundSetPlayerTeamClientboundSetScoreClientboundSetSimulationDistanceClientboundSetSubtitleTextClientboundSetTimeClientboundSetTitleTextClientboundSetTitlesAnimationClientboundSoundEntityClientboundSoundClientboundStartConfigurationClientboundStopSoundClientboundSystemChatClientboundTabListClientboundTagQueryClientboundTakeItemEntityClientboundTeleportEntityClientboundTickingStateClientboundTickingStepClientboundUpdateAdvancementsClientboundUpdateAttributesClientboundUpdateMobEffectClientboundUpdateRecipesClientboundUpdateTagsClientboundPacketIDGuard"
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}
var _ClientboundPacketID_index = [...]uint16{0, 26, 59, 82, 109, 138, 167, 196, 234, 261, 283, 303, 330, 359, 385, 408, 430, 459, 478, 503, 533, 560, 587, 606, 638, 662, 684, 705, 726, 750, 772, 790, 817, 837, 863, 887, 914, 934, 964, 985, 1010, 1032, 1048, 1070, 1095, 1119, 1146, 1170, 1192, 1211, 1232, 1257, 1272, 1295, 1322, 1348, 1369, 1395, 1423, 1450, 1477, 1504, 1527, 1552, 1569, 1594, 1620, 1641, 1667, 1694, 1712, 1733, 1763, 1795, 1816, 1843, 1869, 1897, 1921, 1953, 1988, 2008, 2033, 2063, 2093, 2127, 2157, 2181, 2205, 2231, 2254, 2278, 2298, 2321, 2345, 2369, 2388, 2420, 2446, 2464, 2487, 2516, 2538, 2554, 2583, 2603, 2624, 2642, 2661, 2686, 2711, 2734, 2756, 2785, 2812, 2838, 2862, 2883, 2907}
func (i ClientboundPacketID) String() string {
if i < 0 || i >= ClientboundPacketID(len(_ClientboundPacketID_index)-1) {

View File

@ -127,7 +127,9 @@ const (
ClientboundRecipe
ClientboundRemoveEntities
ClientboundRemoveMobEffect
ClientboundResourcePack
ClientboundResetScore
ClientboundResourcePackPop
ClientboundResourcePackPush
ClientboundRespawn
ClientboundRotateHead
ClientboundSectionBlocksUpdate
@ -169,6 +171,8 @@ const (
ClientboundTagQuery
ClientboundTakeItemEntity
ClientboundTeleportEntity
ClientboundTickingState
ClientboundTickingStep
ClientboundUpdateAdvancements
ClientboundUpdateAttributes
ClientboundUpdateMobEffect
@ -194,6 +198,7 @@ const (
ServerboundContainerButtonClick
ServerboundContainerClick
ServerboundContainerClose
ServerboundContainerSlotStateChanged
ServerboundCustomPayload
ServerboundEditBook
ServerboundEntityTagQuery
@ -233,5 +238,4 @@ const (
ServerboundTeleportToEntity
ServerboundUseItemOn
ServerboundUseItem
ServerboundPacketIDGuard
)

View File

@ -8,6 +8,18 @@ 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[ServerboundLoginStart-0]
_ = x[ServerboundLoginEncryptionResponse-1]
_ = x[ServerboundLoginPluginResponse-2]
_ = x[ServerboundLoginAcknowledged-3]
_ = x[ServerboundStatusRequest-0]
_ = x[ServerboundStatusPingRequest-1]
_ = x[ServerboundConfigClientInformation-0]
_ = x[ServerboundConfigCustomPayload-1]
_ = x[ServerboundConfigFinishConfiguration-2]
_ = x[ServerboundConfigKeepAlive-3]
_ = x[ServerboundConfigPong-4]
_ = x[ServerboundConfigResourcePack-5]
_ = x[ServerboundAcceptTeleportation-0]
_ = x[ServerboundBlockEntityTagQuery-1]
_ = x[ServerboundChangeDifficulty-2]
@ -23,50 +35,51 @@ func _() {
_ = x[ServerboundContainerButtonClick-12]
_ = x[ServerboundContainerClick-13]
_ = x[ServerboundContainerClose-14]
_ = x[ServerboundCustomPayload-15]
_ = x[ServerboundEditBook-16]
_ = x[ServerboundEntityTagQuery-17]
_ = x[ServerboundInteract-18]
_ = x[ServerboundJigsawGenerate-19]
_ = x[ServerboundKeepAlive-20]
_ = x[ServerboundLockDifficulty-21]
_ = x[ServerboundMovePlayerPos-22]
_ = x[ServerboundMovePlayerPosRot-23]
_ = x[ServerboundMovePlayerRot-24]
_ = x[ServerboundMovePlayerStatusOnly-25]
_ = x[ServerboundMoveVehicle-26]
_ = x[ServerboundPaddleBoat-27]
_ = x[ServerboundPickItem-28]
_ = x[ServerboundPingRequest-29]
_ = x[ServerboundPlaceRecipe-30]
_ = x[ServerboundPlayerAbilities-31]
_ = x[ServerboundPlayerAction-32]
_ = x[ServerboundPlayerCommand-33]
_ = x[ServerboundPlayerInput-34]
_ = x[ServerboundPong-35]
_ = x[ServerboundRecipeBookChangeSettings-36]
_ = x[ServerboundRecipeBookSeenRecipe-37]
_ = x[ServerboundRenameItem-38]
_ = x[ServerboundResourcePack-39]
_ = x[ServerboundSeenAdvancements-40]
_ = x[ServerboundSelectTrade-41]
_ = x[ServerboundSetBeacon-42]
_ = x[ServerboundSetCarriedItem-43]
_ = x[ServerboundSetCommandBlock-44]
_ = x[ServerboundSetCommandMinecart-45]
_ = x[ServerboundSetCreativeModeSlot-46]
_ = x[ServerboundSetJigsawBlock-47]
_ = x[ServerboundSetStructureBlock-48]
_ = x[ServerboundSignUpdate-49]
_ = x[ServerboundSwing-50]
_ = x[ServerboundTeleportToEntity-51]
_ = x[ServerboundUseItemOn-52]
_ = x[ServerboundUseItem-53]
_ = x[ServerboundContainerSlotStateChanged-15]
_ = x[ServerboundCustomPayload-16]
_ = x[ServerboundEditBook-17]
_ = x[ServerboundEntityTagQuery-18]
_ = x[ServerboundInteract-19]
_ = x[ServerboundJigsawGenerate-20]
_ = x[ServerboundKeepAlive-21]
_ = x[ServerboundLockDifficulty-22]
_ = x[ServerboundMovePlayerPos-23]
_ = x[ServerboundMovePlayerPosRot-24]
_ = x[ServerboundMovePlayerRot-25]
_ = x[ServerboundMovePlayerStatusOnly-26]
_ = x[ServerboundMoveVehicle-27]
_ = x[ServerboundPaddleBoat-28]
_ = x[ServerboundPickItem-29]
_ = x[ServerboundPingRequest-30]
_ = x[ServerboundPlaceRecipe-31]
_ = x[ServerboundPlayerAbilities-32]
_ = x[ServerboundPlayerAction-33]
_ = x[ServerboundPlayerCommand-34]
_ = x[ServerboundPlayerInput-35]
_ = x[ServerboundPong-36]
_ = x[ServerboundRecipeBookChangeSettings-37]
_ = x[ServerboundRecipeBookSeenRecipe-38]
_ = x[ServerboundRenameItem-39]
_ = x[ServerboundResourcePack-40]
_ = x[ServerboundSeenAdvancements-41]
_ = x[ServerboundSelectTrade-42]
_ = x[ServerboundSetBeacon-43]
_ = x[ServerboundSetCarriedItem-44]
_ = x[ServerboundSetCommandBlock-45]
_ = x[ServerboundSetCommandMinecart-46]
_ = x[ServerboundSetCreativeModeSlot-47]
_ = x[ServerboundSetJigsawBlock-48]
_ = x[ServerboundSetStructureBlock-49]
_ = x[ServerboundSignUpdate-50]
_ = x[ServerboundSwing-51]
_ = x[ServerboundTeleportToEntity-52]
_ = x[ServerboundUseItemOn-53]
_ = x[ServerboundUseItem-54]
}
const _ServerboundPacketID_name = "ServerboundAcceptTeleportationServerboundBlockEntityTagQueryServerboundChangeDifficultyServerboundChatAckServerboundChatCommandServerboundChatServerboundChatSessionUpdateServerboundChunkBatchReceivedServerboundClientCommandServerboundClientInformationServerboundCommandSuggestionServerboundConfigurationAcknowledgedServerboundContainerButtonClickServerboundContainerClickServerboundContainerCloseServerboundCustomPayloadServerboundEditBookServerboundEntityTagQueryServerboundInteractServerboundJigsawGenerateServerboundKeepAliveServerboundLockDifficultyServerboundMovePlayerPosServerboundMovePlayerPosRotServerboundMovePlayerRotServerboundMovePlayerStatusOnlyServerboundMoveVehicleServerboundPaddleBoatServerboundPickItemServerboundPingRequestServerboundPlaceRecipeServerboundPlayerAbilitiesServerboundPlayerActionServerboundPlayerCommandServerboundPlayerInputServerboundPongServerboundRecipeBookChangeSettingsServerboundRecipeBookSeenRecipeServerboundRenameItemServerboundResourcePackServerboundSeenAdvancementsServerboundSelectTradeServerboundSetBeaconServerboundSetCarriedItemServerboundSetCommandBlockServerboundSetCommandMinecartServerboundSetCreativeModeSlotServerboundSetJigsawBlockServerboundSetStructureBlockServerboundSignUpdateServerboundSwingServerboundTeleportToEntityServerboundUseItemOnServerboundUseItem"
const _ServerboundPacketID_name = "ServerboundLoginStartServerboundLoginEncryptionResponseServerboundLoginPluginResponseServerboundLoginAcknowledgedServerboundConfigPongServerboundConfigResourcePackServerboundChatSessionUpdateServerboundChunkBatchReceivedServerboundClientCommandServerboundClientInformationServerboundCommandSuggestionServerboundConfigurationAcknowledgedServerboundContainerButtonClickServerboundContainerClickServerboundContainerCloseServerboundContainerSlotStateChangedServerboundCustomPayloadServerboundEditBookServerboundEntityTagQueryServerboundInteractServerboundJigsawGenerateServerboundKeepAliveServerboundLockDifficultyServerboundMovePlayerPosServerboundMovePlayerPosRotServerboundMovePlayerRotServerboundMovePlayerStatusOnlyServerboundMoveVehicleServerboundPaddleBoatServerboundPickItemServerboundPingRequestServerboundPlaceRecipeServerboundPlayerAbilitiesServerboundPlayerActionServerboundPlayerCommandServerboundPlayerInputServerboundPongServerboundRecipeBookChangeSettingsServerboundRecipeBookSeenRecipeServerboundRenameItemServerboundResourcePackServerboundSeenAdvancementsServerboundSelectTradeServerboundSetBeaconServerboundSetCarriedItemServerboundSetCommandBlockServerboundSetCommandMinecartServerboundSetCreativeModeSlotServerboundSetJigsawBlockServerboundSetStructureBlockServerboundSignUpdateServerboundSwingServerboundTeleportToEntityServerboundUseItemOnServerboundUseItem"
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}
var _ServerboundPacketID_index = [...]uint16{0, 21, 55, 85, 113, 134, 163, 191, 220, 244, 272, 300, 336, 367, 392, 417, 453, 477, 496, 521, 540, 565, 585, 610, 634, 661, 685, 716, 738, 759, 778, 800, 822, 848, 871, 895, 917, 932, 967, 998, 1019, 1042, 1069, 1091, 1111, 1136, 1162, 1191, 1221, 1246, 1274, 1295, 1311, 1338, 1358, 1376}
func (i ServerboundPacketID) String() string {
if i < 0 || i >= ServerboundPacketID(len(_ServerboundPacketID_index)-1) {