Minecraft-Console-Client/MinecraftClient/Protocol/Handlers/PacketPalettes
copilot-swe-agent[bot] 446c6e7739 refactor: convert redundant new TypeName() to target-typed new()
Replace explicit constructor calls with target-typed new() expressions
where the type is already specified on the left side of the assignment.
This is a C# 9+ feature that reduces redundancy.

Files changed:
- Container.cs: field assignments in constructors
- EntityPalette18/112/113.cs: static field initializers
- ChatParser.cs: StringBuilder local variable
- Movement.cs: field assignments in constructor
- PacketPalette18.cs: field initializers
- EnchantmentMapping.cs: field reassignments

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 00:37:35 +00:00
..
PacketPalette17.cs
PacketPalette18.cs refactor: convert redundant new TypeName() to target-typed new() 2026-03-24 00:37:35 +00:00
PacketPalette110.cs
PacketPalette112.cs
PacketPalette113.cs
PacketPalette114.cs
PacketPalette115.cs
PacketPalette116.cs
PacketPalette117.cs
PacketPalette118.cs
PacketPalette119.cs
PacketPalette121.cs
PacketPalette261.cs
PacketPalette1122.cs
PacketPalette1162.cs
PacketPalette1192.cs
PacketPalette1193.cs
PacketPalette1194.cs
PacketPalette1202.cs
PacketPalette1204.cs
PacketPalette1206.cs
PacketPalette1212.cs
PacketPalette1214.cs
PacketPalette1215.cs
PacketPalette1216.cs
PacketPalette1219.cs
PacketPaletteHelper.cs
PacketTypePalette.cs