mirror of
https://github.com/MCCTeam/Minecraft-Console-Client
synced 2026-08-15 13:04:36 +00:00
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> |
||
|---|---|---|
| .. | ||
| ItemPalettes | ||
| BookPage.cs | ||
| Container.cs | ||
| ContainerExtensions.cs | ||
| ContainerType.cs | ||
| ContainerTypeExtensions.cs | ||
| Effects.cs | ||
| Enchantment.cs | ||
| EnchantmentData.cs | ||
| EnchantmentMapping.cs | ||
| EnchantmentPropertyInfo.cs | ||
| Enchantments.cs | ||
| Hand.cs | ||
| Item.cs | ||
| ItemMovingHelper.cs | ||
| ItemRarity.cs | ||
| ItemType.cs | ||
| ItemTypeExtensions.cs | ||
| SuspiciousStewEffect.cs | ||
| TrimAssetOverride.cs | ||
| VillagerInfo.cs | ||
| VillagerTrade.cs | ||
| WindowActionType.cs | ||