Skip to content

Update to Minecraft 26.3 - #9

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

rubensworks merged 2 commits into
master-26from
claude/minecraft-26-3-update-xr1cny

Conversation

@rubensworks

@rubensworks rubensworks commented Sep 20, 2026

Copy link
Copy Markdown
Member

SlotDisplay$TagSlotDisplay now carries a HolderSet<Item> instead of a TagKey<Item>, which is the only thing in this repository that 26.3 breaks. Both getPrototypesFromDisplay overloads pattern-match on it, so both fail to compile:

RecipeHandlerHelpers.java:46: error: incompatible types: HolderSet<Item> cannot be converted to TagKey<Item>
RecipeHandlerHelpers.java:72: error: incompatible types: HolderSet<Item> cannot be converted to TagKey<Item>

The tag name now comes from HolderSet#unwrapKey. That returns an Optional, because a HolderSet is not necessarily a named tag — an anonymous one has no name to put in a PrototypedIngredientAlternativesItemStackTag. The guard is part of the pattern condition, so those fall through to the existing branch that resolves the display into concrete stacks, which is the behaviour that branch already had for every other display type.

The fix commit is based on the commit CyclopsCore pins (7cc8eb2), and master-26 is then merged in, so the branch head is master-26 plus this fix and the net diff against master-26 is exactly the 26.3 change. That head is what CyclopsMC/CommonCapabilities#50 points its submodule at; CyclopsMC/CyclopsCore#243 points at the fix commit itself, which is an ancestor of this branch.

Needed by CyclopsMC/CyclopsCore#243 and CyclopsMC/CommonCapabilities#50, whose submodule pointers reference this branch until this is merged.

🤖 Generated with Claude Code

https://claude.ai/code/session_01V35MFZ7JSgoLe79J4d1uxf

SlotDisplay$TagSlotDisplay now carries a HolderSet<Item> instead of a
TagKey<Item>, so the tag name is resolved via HolderSet#unwrapKey.
Anonymous holder sets fall through to the stack-resolving branch.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V35MFZ7JSgoLe79J4d1uxf
@rubensworks
rubensworks merged commit 01ca42c into master-26 Sep 20, 2026
1 check passed
@rubensworks
rubensworks deleted the claude/minecraft-26-3-update-xr1cny branch September 20, 2026 10:14
rubensworks pushed a commit to CyclopsMC/CommonCapabilities that referenced this pull request Sep 20, 2026
CyclopsMC/CommonCapabilitiesAPI#9 was squash-merged, so the branch this
pointed at is gone and its commit is no longer reachable. master-26 now
carries the 26.3 fix, along with two intervening commits that this mod
already had the ingredient package and helpers for.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V35MFZ7JSgoLe79J4d1uxf
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