Minecraft-Console-Client/MinecraftClient/Inventory
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
..
ItemPalettes feat: add 26.1 palette files and new enum values 2026-03-22 20:04:08 +08:00
BookPage.cs fix: StructuredComponents batch 1 audit — TrimComponent, ProfileComponent, WrittenBookContent, and NBT serialization 2026-03-20 00:09:05 +08:00
Container.cs refactor: convert redundant new TypeName() to target-typed new() 2026-03-24 00:37:35 +00:00
ContainerExtensions.cs Added slab handling for 1.20/.1 2023-06-23 16:25:18 +02:00
ContainerType.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
ContainerTypeExtensions.cs Crowdin localization support (#2310) 2022-10-28 11:13:20 +08:00
Effects.cs [SKIP_BUILD] Change file encoding to UTF-8 with BOM 2022-11-28 13:55:05 +08:00
Enchantment.cs WIP: Added some strctured components 2024-09-11 19:12:31 +02:00
EnchantmentData.cs WIP: Added some strctured components 2024-09-11 19:12:31 +02:00
EnchantmentMapping.cs refactor: convert redundant new TypeName() to target-typed new() 2026-03-24 00:37:35 +00:00
EnchantmentPropertyInfo.cs Added enchanting 2022-10-12 19:51:01 +02:00
Enchantments.cs Fix enchantment name display for 1.20.6 structured components 2026-03-19 02:01:15 +08:00
Hand.cs [SKIP_BUILD] Change file encoding to UTF-8 with BOM 2022-11-28 13:55:05 +08:00
Item.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
ItemMovingHelper.cs Modernize null-check patterns: use 'is null' and 'is not null' 2026-03-24 00:28:02 +00:00
ItemRarity.cs WIP: Added some strctured components 2024-09-11 19:12:31 +02:00
ItemType.cs feat: add 26.1 palette files and new enum values 2026-03-22 20:04:08 +08:00
ItemTypeExtensions.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
SuspiciousStewEffect.cs Added more structured components 2024-09-11 20:58:24 +02:00
TrimAssetOverride.cs Implemented all structured components, renamed them all to a better format 2024-10-05 13:37:52 +02:00
VillagerInfo.cs Implement command completion suggestions. 2022-12-06 15:50:17 +08:00
VillagerTrade.cs Fix all warnings & Trim (#2226) 2022-10-02 18:31:08 +08:00
WindowActionType.cs Added ShiftRightClick (#2582) 2023-09-16 19:39:55 +08:00