1.20.4 update
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user