copilot-swe-agent[bot]
654a16907b
Modernize data carriers to records and add primary constructors
...
Convert 14 data carrier classes to records:
- VillagerInfo, MapIcon, EnchantmentData: non-positional records (mutable properties)
- ForgeMod, SkinInfo, VillagerTrade, Node, Response: positional records
- CommandNode: sealed positional record
- CommandArgumentDescriptor: readonly record struct
- ColorRGBA: record struct (multiple constructors preserved)
- RecipeConfig, Recipe, BannerLayer: non-positional records
Add primary constructors to 6 classes:
- DataTypes, Protocol18Terrain, Protocol18Forge, ItemMovingHelper,
LastSeenMessageList, Acknowledgment, SuggestionTooltip
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 01:31:17 +00:00
copilot-swe-agent[bot]
94bf42710a
refactor: use pattern matching for null checks (is null / is not null)
...
Convert remaining == null to is null and != null to is not null
across 17 files in CommandHandler/ArgumentType, StructuredComponents,
and DeclareCommands for idiomatic C# style.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-24 00:47:03 +00:00
Anon
e2746ae0d1
Implemented new Delcare Command packet for new versions 1.20.6-1.21.11 and fixed it for 1.20.4.
2026-03-22 00:42:43 +01:00
Anon
b4e69da81f
Temporary fix for Declare Commands crashing sending commands in chat.
2026-03-21 22:44:57 +01:00
Anon
f83e7c5707
Preliminary 1.21 Support
2024-12-06 16:45:48 +01:00
Anon
5a6fd577e5
Inventory, Terrain and Entity handling
2024-07-02 11:08:46 +02:00
oldkingOK
4bb25c377e
feat(DeclareCommands.cs): Add 1.20.3+ version check
2024-03-10 12:03:07 +08:00
oldkingOK
79910b50f7
Merge branch 'MCCTeam:master' into forge-cmds
2024-03-10 08:07:01 +08:00
oldkingOK
8e1822b0d2
feat(DeclareCommands.cs): Remove 1.20.2+ version check
2024-02-21 10:10:03 +08:00
oldkingOK
576575ff65
refactor(DeclareCommands.cs): Move forge to switch version block
2024-02-20 20:22:37 +08:00
oldkingOK
e569ffe0cc
fix: IndexOutOfRange on packet reading (Forge)
...
Add two missing forge Command Packet Parsers, which won't affect the vanilla parsers.
The ids of the two Command Packet Parsers `forge:enum` and `forge:modid` [Forge once added in order](19f8d2a793/src/main/java/net/minecraftforge/common/ForgeMod.java (L175) ) are the maximum value of the Vanilla Parser id plus 1 or plus 2. `forge:enum` has a [String Type argument](https://wiki.vg/Command_Data#forge:enum ).
The specific id is from [wiki.vg](https://wiki.vg/Command_Data ) or Forge-generated minecraft source code.
2024-02-20 15:37:57 +08:00
ReinforceZwei
a9f1ad4433
1.20.3: Update chat parser to parse new NBT format
2024-02-04 18:14:09 +08:00
ReinforceZwei
949c1f6b67
DeclareCommand: Fix 1.19.3 crash
2023-04-09 12:01:09 +08:00
ReinforceZwei
09b3ec1a81
DeclareCommand: Fix 1.19.4 crash ( #2474 )
2023-04-08 21:24:00 +08:00
BruceChen
30e95f2d23
Bug fix
2023-01-16 04:04:56 +08:00
BruceChen
950d9bcfdc
Fix entity handle & Try fix message singing again
2023-01-16 03:00:37 +08:00
BruceChen
d4b3c42d8c
Update DeclareCommands for 1.19.3
2023-01-14 20:43:32 +08:00
BruceChen
84cf749344
Implement command completion suggestions.
2022-12-06 15:50:17 +08:00
BruceChen
01802dfcff
Fix sign command
2022-10-14 20:34:45 +08:00