// Code generated by "stringer -type ServerboundPacketID"; DO NOT EDIT. package packetid import "strconv" 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[ServerboundLoginCookieResponse-4] _ = x[ServerboundStatusRequest-0] _ = x[ServerboundStatusPingRequest-1] _ = x[ServerboundConfigClientInformation-0] _ = x[ServerboundConfigCookieResponse-1] _ = x[ServerboundConfigCustomPayload-2] _ = x[ServerboundConfigFinishConfiguration-3] _ = x[ServerboundConfigKeepAlive-4] _ = x[ServerboundConfigPong-5] _ = x[ServerboundConfigResourcePack-6] _ = x[ServerboundConfigSelectKnownPacks-7] _ = x[ServerboundAcceptTeleportation-0] _ = x[ServerboundBlockEntityTagQuery-1] _ = x[ServerboundChangeDifficulty-2] _ = x[ServerboundChatAck-3] _ = x[ServerboundChatCommand-4] _ = x[ServerboundChatCommandSigned-5] _ = x[ServerboundChat-6] _ = x[ServerboundChatSessionUpdate-7] _ = x[ServerboundChunkBatchReceived-8] _ = x[ServerboundClientCommand-9] _ = x[ServerboundClientInformation-10] _ = x[ServerboundCommandSuggestion-11] _ = x[ServerboundConfigurationAcknowledged-12] _ = x[ServerboundContainerButtonClick-13] _ = x[ServerboundContainerClick-14] _ = x[ServerboundContainerClose-15] _ = x[ServerboundContainerSlotStateChanged-16] _ = x[ServerboundCookieResponse-17] _ = x[ServerboundCustomPayload-18] _ = x[ServerboundDebugSampleSubscription-19] _ = x[ServerboundEditBook-20] _ = x[ServerboundEntityTagQuery-21] _ = x[ServerboundInteract-22] _ = x[ServerboundJigsawGenerate-23] _ = x[ServerboundKeepAlive-24] _ = x[ServerboundLockDifficulty-25] _ = x[ServerboundMovePlayerPos-26] _ = x[ServerboundMovePlayerPosRot-27] _ = x[ServerboundMovePlayerRot-28] _ = x[ServerboundMovePlayerStatusOnly-29] _ = x[ServerboundMoveVehicle-30] _ = x[ServerboundPaddleBoat-31] _ = x[ServerboundPickItem-32] _ = x[ServerboundPingRequest-33] _ = x[ServerboundPlaceRecipe-34] _ = x[ServerboundPlayerAbilities-35] _ = x[ServerboundPlayerAction-36] _ = x[ServerboundPlayerCommand-37] _ = x[ServerboundPlayerInput-38] _ = x[ServerboundPong-39] _ = x[ServerboundRecipeBookChangeSettings-40] _ = x[ServerboundRecipeBookSeenRecipe-41] _ = x[ServerboundRenameItem-42] _ = x[ServerboundResourcePack-43] _ = x[ServerboundSeenAdvancements-44] _ = x[ServerboundSelectTrade-45] _ = x[ServerboundSetBeacon-46] _ = x[ServerboundSetCarriedItem-47] _ = x[ServerboundSetCommandBlock-48] _ = x[ServerboundSetCommandMinecart-49] _ = x[ServerboundSetCreativeModeSlot-50] _ = x[ServerboundSetJigsawBlock-51] _ = x[ServerboundSetStructureBlock-52] _ = x[ServerboundSignUpdate-53] _ = x[ServerboundSwing-54] _ = x[ServerboundTeleportToEntity-55] _ = x[ServerboundUseItemOn-56] _ = x[ServerboundUseItem-57] _ = x[ServerboundPacketIDGuard-58] } const _ServerboundPacketID_name = "ServerboundLoginStartServerboundLoginEncryptionResponseServerboundLoginPluginResponseServerboundLoginAcknowledgedServerboundLoginCookieResponseServerboundConfigPongServerboundConfigResourcePackServerboundConfigSelectKnownPacksServerboundChunkBatchReceivedServerboundClientCommandServerboundClientInformationServerboundCommandSuggestionServerboundConfigurationAcknowledgedServerboundContainerButtonClickServerboundContainerClickServerboundContainerCloseServerboundContainerSlotStateChangedServerboundCookieResponseServerboundCustomPayloadServerboundDebugSampleSubscriptionServerboundEditBookServerboundEntityTagQueryServerboundInteractServerboundJigsawGenerateServerboundKeepAliveServerboundLockDifficultyServerboundMovePlayerPosServerboundMovePlayerPosRotServerboundMovePlayerRotServerboundMovePlayerStatusOnlyServerboundMoveVehicleServerboundPaddleBoatServerboundPickItemServerboundPingRequestServerboundPlaceRecipeServerboundPlayerAbilitiesServerboundPlayerActionServerboundPlayerCommandServerboundPlayerInputServerboundPongServerboundRecipeBookChangeSettingsServerboundRecipeBookSeenRecipeServerboundRenameItemServerboundResourcePackServerboundSeenAdvancementsServerboundSelectTradeServerboundSetBeaconServerboundSetCarriedItemServerboundSetCommandBlockServerboundSetCommandMinecartServerboundSetCreativeModeSlotServerboundSetJigsawBlockServerboundSetStructureBlockServerboundSignUpdateServerboundSwingServerboundTeleportToEntityServerboundUseItemOnServerboundUseItemServerboundPacketIDGuard" var _ServerboundPacketID_index = [...]uint16{0, 21, 55, 85, 113, 143, 164, 193, 226, 255, 279, 307, 335, 371, 402, 427, 452, 488, 513, 537, 571, 590, 615, 634, 659, 679, 704, 728, 755, 779, 810, 832, 853, 872, 894, 916, 942, 965, 989, 1011, 1026, 1061, 1092, 1113, 1136, 1163, 1185, 1205, 1230, 1256, 1285, 1315, 1340, 1368, 1389, 1405, 1432, 1452, 1470, 1494} func (i ServerboundPacketID) String() string { if i < 0 || i >= ServerboundPacketID(len(_ServerboundPacketID_index)-1) { return "ServerboundPacketID(" + strconv.FormatInt(int64(i), 10) + ")" } return _ServerboundPacketID_name[_ServerboundPacketID_index[i]:_ServerboundPacketID_index[i+1]] }