Minecraft-Console-Client/MinecraftClient/Protocol
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
..
Handlers refactor: convert redundant new TypeName() to target-typed new() 2026-03-24 00:37:35 +00:00
Message refactor: convert redundant new TypeName() to target-typed new() 2026-03-24 00:37:35 +00:00
ProfileKey Add configurable authlib-injector API path and HTTP support for Yggdrasil auth 2026-03-23 00:15:32 +01:00
Session Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
DataTypeGenerator.cs Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
EntityActionType.cs [SKIP_BUILD] Change file encoding to UTF-8 with BOM 2022-11-28 13:55:05 +08:00
GuidExtensions.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
IMinecraftCom.cs Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00
IMinecraftComHandler.cs Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00
JwtPayloadDecode.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
MicrosoftAuthentication.cs Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
MojangAPI.cs Replace legacy custom JSON parser with System.Text.Json 2026-03-22 16:39:26 +00:00
PlayerInfo.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
ProtocolHandler.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
ProxiedWebRequest.cs Address code review feedback 2026-03-22 16:46:33 +00:00
ReplayHandler.cs Run MCC at true 20 TPS 2026-03-23 14:29:04 +01:00