Skip to content

Update the loot table to the 26.3 format - #45

Merged
rubensworks merged 1 commit into
master-26from
claude/minecraft-26-3-update-xr1cny
Sep 20, 2026
Merged

rubensworks merged 1 commit into
master-26from
claude/minecraft-26-3-update-xr1cny

Conversation

@rubensworks

Copy link
Copy Markdown
Member

Follow-up to the 26.3 port.

26.3 replaced the "functions" / "conditions" lists on loot tables, pools and entries with a single "modifier" / "condition" holder, and renamed the inline "function" / "condition" type keys to "type". The old format parses without any error and is then ignored, so the flopper's copy_name and survives_explosion had silently become no-ops.

I found this while porting EvilCraft, where the same problem made a Dark Tank drop lose its capacity, and confirmed it in IntegratedDynamics (CyclopsMC/IntegratedDynamics#1743), where the dropped conditions show up as Unreachable entry! validation warnings.

Validation

  • ./gradlew build passes.
  • ./gradlew runGameTestServer: all 13 tests pass on every loader, with no loot table validation warnings.

🤖 Generated with Claude Code

https://claude.ai/code/session_01V35MFZ7JSgoLe79J4d1uxf


Generated by Claude Code

26.3 replaced the "functions"/"conditions" lists on tables, pools and
entries with a single "modifier"/"condition" holder, and the inline
"function"/"condition" type keys with "type". The old format parses
without any error and is then ignored, so every loot function and
condition in these tables had silently become a no-op.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V35MFZ7JSgoLe79J4d1uxf
@github-actions

Copy link
Copy Markdown

Coverage Report for CI Build 35520648744

Coverage remained the same at 64.751%

Details

  • Coverage remained the same as the base build.
  • Patch coverage: No coverable lines changed in this PR.
  • No coverage regressions found.

Uncovered Changes

No uncovered changes found.

Coverage Regressions

No coverage regressions found.


Coverage Stats

Coverage Status
Relevant Lines: 816
Covered Lines: 600
Line Coverage: 73.53%
Relevant Branches: 350
Covered Branches: 155
Branch Coverage: 44.29%
Branches in Coverage %: Yes
Coverage Strength: 5.2 hits per line

💛 - Coveralls

@rubensworks
rubensworks merged commit 5ba4c11 into master-26 Sep 20, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants