Skip to content

Update Common Capabilities to 2.11.5-373 - #235

Merged
rubensworks merged 1 commit into
master-1.21-ltsfrom
deps/commoncapabilities-large-slot-extraction
Sep 8, 2026
Merged

Update Common Capabilities to 2.11.5-373#235
rubensworks merged 1 commit into
master-1.21-ltsfrom
deps/commoncapabilities-large-slot-extraction

Conversation

@rubensworks

Copy link
Copy Markdown
Member

What

Bumps commoncapabilities_version from 2.11.5-363 to 2.11.5-373, the first release carrying CyclopsMC/CommonCapabilities#49 (storageExtractItem no longer taking its maximum stack size from ItemStack.EMPTY, which reports 1 since the component rewrite).

The point of this PR is to run Integrated Crafting's game tests against that change, since extraction from storage is on the hot path for every crafting job and the fix alters how every extractItem call is sized.

Result

All 76 game tests pass. No changes were needed anywhere else.

========= 76 GAME TESTS COMPLETE IN 52.72 s ======================
All 76 required tests passed :)

The run log confirms commoncapabilities-1.21.1-neoforge-2.11.5-373-deobf.jar was the jar loaded, and I checked the published jar's bytecode before pinning it: storageExtractItem now calls getStackInSlot(slot).getMaxStackSize() rather than ItemStack.EMPTY.getMaxStackSize().

Validation

  • ./gradlew build passes
  • ./gradlew runGameTestServer --rerun passes, 76 game tests

Used --rerun deliberately: Gradle otherwise marks the run task UP-TO-DATE and reports success without executing anything.

One thing worth knowing

2.11.5-368 was never published, because that run failed at Deploy to CurseForge and the Deploy to Maven step is downstream of it, so it got skipped. That is why the previous pin was still -363 rather than something more recent. Nothing to do here, but it means a red Common Capabilities master silently stops publishing to Maven.

🤖 Generated with Claude Code

https://claude.ai/code/session_01ACuxaa5QeiZ8mVsEQtwSq1


Generated by Claude Code

This carries the fix for extraction from slots larger than a vanilla stack,
which previously pulled a single item per item handler call.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01ACuxaa5QeiZ8mVsEQtwSq1
@rubensworks
rubensworks merged commit 441eaa5 into master-1.21-lts Sep 8, 2026
5 of 6 checks passed
@rubensworks
rubensworks deleted the deps/commoncapabilities-large-slot-extraction branch September 8, 2026 18:07
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