You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The script gives items with every registered component via RCON `/give`, reads
137
+
them back with `inventory player list`, and asserts no parse errors in the MCC
138
+
log. Version-gated components (v1212+, v1215+, v12111+, v261) are tested only
139
+
on the versions that support them. See `SC_Integration_Test_Report.md` for a
140
+
reference run across all 6 version groups.
141
+
142
+
### 5. Full inventory regression sweep
119
143
120
144
Use this when touching inventory snapshots, player/container slot sync, creative inventory, item-slot serialization, packet palettes, game-mode updates, or block-use paths that open containers:
121
145
@@ -198,6 +222,8 @@ Optionally override the login name with the fourth argument to the config helper
198
222
- ordered creative-mode E2E regression scenario
199
223
-`tools/run-inventory-full-sweep.sh`
200
224
- full inventory command/API sweep across one or more versions
225
+
-`tools/run-structured-components-test.sh`
226
+
- exercises every structured component via RCON `/give` across versions 1.20.6-26.1
Copy file name to clipboardExpand all lines: AGENTS.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -123,3 +123,4 @@ Read `docs/guide/ai-assisted-development.md` before starting development work on
123
123
- Don't trust older docs over current code for supported versions or feature gates. When AGENTS.md, skills, and older docs disagree, prefer current code and current tool behavior, then update the stale source.
124
124
- Don't hardcode user-facing strings (messages, labels, help text) directly in source code; always use `Translations.*` resources so the text can be localized.
125
125
- Never use "—" ("em dash"), unless specifically being instructed to do so!
126
+
- Never generate MCC config files (`.ini`) in the repo root. When `dotnet run --project MinecraftClient -- --help` is used to generate a config template, it writes `MinecraftClient.ini` to the current directory. Always run this command from a system temp directory (e.g. `mktemp -d`) or use `prepare_offline_mcc_config.sh` which already handles output routing.
Copy file name to clipboardExpand all lines: MinecraftClient/Protocol/Handlers/StructuredComponents/Components/1_20_6/OminousBottleAmplifierComponent.cs
@@ -41,7 +41,7 @@ public override Queue<byte> Serialize()
41
41
if(page.HasFilteredContent)
42
42
{
43
43
if(page.FilteredContentisnull)
44
-
thrownewInvalidOperationException("Can not serialize WritableBlookContentComponent because page.HasFilteredContent = true, but FilteredContent is null!");
44
+
thrownewInvalidOperationException("Can not serialize WritableBookContentComponent because page.HasFilteredContent = true, but FilteredContent is null!");
0 commit comments