Skip to content

Conversation

@DilithiumThoride
Copy link
Contributor

What

If a ranged ingredient cannot possibly fit into the output space, rather than causing the recipe search to fail at that point because not enough output space, the ranged ingredient just gets deleted and so recipe search succeeds because it sees no unprocessed outputs, and the ranged output gets voided.

This fixes that. If a NotifiableItemStackHandler doesn't have enough space to fit a ranged ingredient's full output stack, recipe search fails and the recipe doesn't run.
Just like for real ingredients.

Implementation Details

Ranged Items were doing a redundant stack size check to see if they could fit into the output space. However, rather than causing recipe search to fail if the item couldn't fit, it would in stead remove the ranged ingredient from the list of items to be processed.

@DilithiumThoride DilithiumThoride requested a review from a team as a code owner December 8, 2025 21:28
@DilithiumThoride DilithiumThoride added type: bugfix General bug fixes 1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. labels Dec 8, 2025
@github-actions github-actions bot added the Tests: Passed Game Tests have passed on this PR label Dec 8, 2025
@jurrejelle jurrejelle merged commit 53b6d92 into 1.20.1 Jan 5, 2026
6 checks passed
@jurrejelle jurrejelle deleted the dt/ranged-voids branch January 5, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. Tests: Passed Game Tests have passed on this PR type: bugfix General bug fixes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants