diff --git a/MinecraftClient/Protocol/Handlers/PacketTypesIn.cs b/MinecraftClient/Protocol/Handlers/PacketTypesIn.cs index 9d6eda02..e9177243 100644 --- a/MinecraftClient/Protocol/Handlers/PacketTypesIn.cs +++ b/MinecraftClient/Protocol/Handlers/PacketTypesIn.cs @@ -10,133 +10,129 @@ namespace MinecraftClient.Protocol.Handlers /// public enum PacketTypesIn { - SpawnEntity, - SpawnExperienceOrb, - SpawnWeatherEntity, - SpawnLivingEntity, - SpawnPainting, - SpawnPlayer, - EntityAnimation, - Statistics, - AcknowledgePlayerDigging, - BlockBreakAnimation, - BlockEntityData, - BlockAction, - BlockChange, - BossBar, - ServerDifficulty, - ChatMessage, - MultiBlockChange, - TabComplete, - DeclareCommands, - WindowConfirmation, - CloseWindow, - WindowItems, - WindowProperty, - SetSlot, - SetCooldown, - PluginMessage, - NamedSoundEffect, - Disconnect, - EntityStatus, - Explosion, - UnloadChunk, - ChangeGameState, - OpenHorseWindow, - KeepAlive, - ChunkData, - Effect, - Particle, - UpdateLight, - JoinGame, - MapData, - TradeList, - EntityPosition, - EntityPositionAndRotation, - EntityRotation, - EntityMovement, - VehicleMove, - OpenBook, - OpenWindow, - OpenSignEditor, - CraftRecipeResponse, - PlayerAbilities, - CombatEvent, - PlayerInfo, - FacePlayer, - PlayerPositionAndLook, - UnlockRecipes, - DestroyEntities, - RemoveEntityEffect, - ResourcePackSend, - Respawn, - EntityHeadLook, - SelectAdvancementTab, - WorldBorder, - Camera, - HeldItemChange, - UpdateViewPosition, - UpdateViewDistance, - DisplayScoreboard, - EntityMetadata, - AttachEntity, - EntityVelocity, - EntityEquipment, - SetExperience, - UpdateHealth, - ScoreboardObjective, - SetPassengers, - Teams, - UpdateScore, - SpawnPosition, - TimeUpdate, - Title, - EntitySoundEffect, - SoundEffect, - StopSound, - PlayerListHeaderAndFooter, - NBTQueryResponse, - CollectItem, - EntityTeleport, - Advancements, - EntityProperties, - EntityEffect, - DeclareRecipes, - SetTitleTime, - SetTitleText, - SetTitleSubTitle, - WorldBorderWarningReach, - WorldBorderWarningDelay, - WorldBorderSize, - WorldBorderLerpSize, - WorldBorderCenter, - ActionBar, - Tags, - DeathCombatEvent, - EnterCombatEvent, - EndCombatEvent, - Ping, - InitializeWorldBorder, - SkulkVibrationSignal, - ClearTiles, - UseBed, // For 1.13.2 or below - MapChunkBulk, // For 1.8 or below - SetCompression, // For 1.8 or below - UpdateSign, // For 1.8 or below - UpdateEntityNBT, // For 1.8 or below - Unknown, // For old version packet that have been removed and not used by mcc - UpdateSimulationDistance, - - // 1.19 Additions - BlockChangedAck, - ChatPreview, - ServerData, - SetDisplayChatPreview, - SystemChat, - - // Added in 1.19.1 (1.19.2) - ChatSuggestions, - HideMessage, - MessageHeader + AcknowledgePlayerDigging, // + ActionBar, // + Advancements, // + AttachEntity, // + BlockAction, // + BlockBreakAnimation, // + BlockChange, // + BlockChangedAck, // Added in 1.19 + BlockEntityData, // + BossBar, // + Camera, // + ChangeGameState, // + ChatMessage, // + ChatPreview, // Added in 1.19 + ChatSuggestions, // Added in 1.19.1 (1.19.2) + ChunkData, // + ClearTiles, // + CloseWindow, // + CollectItem, // + CombatEvent, // + CraftRecipeResponse, // + DeathCombatEvent, // + DeclareCommands, // + DeclareRecipes, // + DestroyEntities, // + Disconnect, // + DisplayScoreboard, // + Effect, // + EndCombatEvent, // + EnterCombatEvent, // + EntityAnimation, // + EntityEffect, // + EntityEquipment, // + EntityHeadLook, // + EntityMetadata, // + EntityMovement, // + EntityPosition, // + EntityPositionAndRotation, // + EntityProperties, // + EntityRotation, // + EntitySoundEffect, // + EntityStatus, // + EntityTeleport, // + EntityVelocity, // + Explosion, // + FacePlayer, // + HeldItemChange, // + HideMessage, // Added in 1.19.1 (1.19.2) + InitializeWorldBorder, // + JoinGame, // + KeepAlive, // + MapChunkBulk, // For 1.8 or below + MapData, // + MessageHeader, // Added in 1.19.1 (1.19.2) + MultiBlockChange, // + NamedSoundEffect, // + NBTQueryResponse, // + OpenBook, // + OpenHorseWindow, // + OpenSignEditor, // + OpenWindow, // + Particle, // + Ping, // + PlayerAbilities, // + PlayerInfo, // + PlayerListHeaderAndFooter, // + PlayerPositionAndLook, // + PluginMessage, // + RemoveEntityEffect, // + ResourcePackSend, // + Respawn, // + ScoreboardObjective, // + SelectAdvancementTab, // + ServerData, // Added in 1.19 + ServerDifficulty, // + SetCompression, // For 1.8 or below + SetCooldown, // + SetDisplayChatPreview, // Added in 1.19 + SetExperience, // + SetPassengers, // + SetSlot, // + SetTitleSubTitle, // + SetTitleText, // + SetTitleTime, // + SkulkVibrationSignal, // + SoundEffect, // + SpawnEntity, // + SpawnExperienceOrb, // + SpawnLivingEntity, // + SpawnPainting, // + SpawnPlayer, // + SpawnPosition, // + SpawnWeatherEntity, // + Statistics, // + StopSound, // + SystemChat, // Added in 1.19 + TabComplete, // + Tags, // + Teams, // + TimeUpdate, // + Title, // + TradeList, // + Unknown, // For old version packet that have been removed and not used by mcc + UnloadChunk, // + UnlockRecipes, // + UpdateEntityNBT, // For 1.8 or below + UpdateHealth, // + UpdateLight, // + UpdateScore, // + UpdateSign, // For 1.8 or below + UpdateSimulationDistance, // + UpdateViewDistance, // + UpdateViewPosition, // + UseBed, // For 1.13.2 or below + VehicleMove, // + WindowConfirmation, // + WindowItems, // + WindowProperty, // + WorldBorder, // + WorldBorderCenter, // + WorldBorderLerpSize, // + WorldBorderSize, // + WorldBorderWarningDelay, // + WorldBorderWarningReach, // } } diff --git a/MinecraftClient/Protocol/Handlers/PacketTypesOut.cs b/MinecraftClient/Protocol/Handlers/PacketTypesOut.cs index 0cd4b85f..a2e8eecc 100644 --- a/MinecraftClient/Protocol/Handlers/PacketTypesOut.cs +++ b/MinecraftClient/Protocol/Handlers/PacketTypesOut.cs @@ -10,65 +10,61 @@ namespace MinecraftClient.Protocol.Handlers /// public enum PacketTypesOut { - TeleportConfirm, - QueryBlockNBT, - SetDifficulty, - ChatMessage, - ClientStatus, - ClientSettings, - TabComplete, - WindowConfirmation, - ClickWindowButton, - ClickWindow, - CloseWindow, - PluginMessage, - EditBook, - EntityNBTRequest, - InteractEntity, - KeepAlive, - LockDifficulty, - PlayerPosition, - PlayerPositionAndRotation, - PlayerRotation, - PlayerMovement, - VehicleMove, - SteerBoat, - PickItem, - CraftRecipeRequest, - PlayerAbilities, - PlayerDigging, - EntityAction, - SteerVehicle, - RecipeBookData, - NameItem, - ResourcePackStatus, - AdvancementTab, - SelectTrade, - SetBeaconEffect, - HeldItemChange, - UpdateCommandBlock, - UpdateCommandBlockMinecart, - CreativeInventoryAction, - UpdateJigsawBlock, - UpdateStructureBlock, - UpdateSign, - Animation, - Spectate, - PlayerBlockPlacement, - UseItem, - Pong, - PrepareCraftingGrid, // For 1.12 - 1.12.1 only - EnchantItem, // For 1.13.2 or below - GenerateStructure, // Added in 1.16 - SetDisplayedRecipe, // Added in 1.16.2 - SetRecipeBookState, // Added in 1.16.2 - Unknown, // For old version packet that have been removed and not used by mcc - - // Added in 1.19 - ChatCommand, - ChatPreview, - - // Added in 1.19.1 (1.19.2) - MessageAcknowledgment + AdvancementTab, // + Animation, // + ChatCommand, // Added in 1.19 + ChatMessage, // + ChatPreview, // Added in 1.19 + ClickWindow, // + ClickWindowButton, // + ClientSettings, // + ClientStatus, // + CloseWindow, // + CraftRecipeRequest, // + CreativeInventoryAction, // + EditBook, // + EnchantItem, // For 1.13.2 or below + EntityAction, // + EntityNBTRequest, // + GenerateStructure, // Added in 1.16 + HeldItemChange, // + InteractEntity, // + KeepAlive, // + LockDifficulty, // + MessageAcknowledgment, // Added in 1.19.1 (1.19.2) + NameItem, // + PickItem, // + PlayerAbilities, // + PlayerBlockPlacement, // + PlayerDigging, // + PlayerMovement, // + PlayerPosition, // + PlayerPositionAndRotation, // + PlayerRotation, // + PluginMessage, // + Pong, // + PrepareCraftingGrid, // For 1.12 - 1.12.1 only + QueryBlockNBT, // + RecipeBookData, // + ResourcePackStatus, // + SelectTrade, // + SetBeaconEffect, // + SetDifficulty, // + SetDisplayedRecipe, // Added in 1.16.2 + SetRecipeBookState, // Added in 1.16.2 + Spectate, // + SteerBoat, // + SteerVehicle, // + TabComplete, // + TeleportConfirm, // + Unknown, // For old version packet that have been removed and not used by mcc + UpdateCommandBlock, // + UpdateCommandBlockMinecart, // + UpdateJigsawBlock, // + UpdateSign, // + UpdateStructureBlock, // + UseItem, // + VehicleMove, // + WindowConfirmation, // } }