Skip to content

Preroll Ranged Ingredients on Recipe Start (1.21) - #5048

Open
DilithiumThoride wants to merge 10 commits into
1.21from
dt/ranged-prerolls-1.21
Open

Preroll Ranged Ingredients on Recipe Start (1.21)#5048
DilithiumThoride wants to merge 10 commits into
1.21from
dt/ranged-prerolls-1.21

Conversation

@DilithiumThoride

@DilithiumThoride DilithiumThoride commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

What

#5015 + #5051 ported to 1.21

Implementation Details

NeoForge SizedIngredient/SizedFluidIngredient require an extra level of unwrapping versus 1.20 GTM's inhouse SI/FI. This extra unwrapping forces the IRanged checks to be done a few layers further down (and at times in slightly less clean ways because my attempts at writing a mixin to unify SI/SFI under a shared ISized failed).

AI Usage

  • [ X ] No AI driven tools were used for this pull request.

Outcome

Ranged Ingredients preroll their values before recipe start.
Fixes #4326 and re-enables all Ranged Ingredient Tests

How Was This Tested

Added several more automated tests to account for the new behaviors

Additional Information

Flagged "Ignore Version Sync" as it is the version sync complement to #5015.

@DilithiumThoride DilithiumThoride added 1.21 type: refactor Suggestion to refactor a section of code Release: API - X.0.0 Major Breaking Refactors that MUST be in a API-Breaking Release labels Jul 1, 2026
@github-actions github-actions Bot added the Tests: Failed Game Tests have failed on this PR label Jul 1, 2026
@DilithiumThoride
DilithiumThoride force-pushed the dt/ranged-prerolls-1.21 branch from 9eceede to 4503331 Compare July 23, 2026 04:27
@DilithiumThoride DilithiumThoride added the Ignore Version Sync Do not append this issue to the version sync issue tracker. label Jul 23, 2026
@github-actions github-actions Bot added Tests: Passed Game Tests have passed on this PR and removed Tests: Failed Game Tests have failed on this PR labels Jul 23, 2026
@github-actions github-actions Bot added Tests: Failed Game Tests have failed on this PR and removed Tests: Passed Game Tests have passed on this PR labels Jul 24, 2026
@github-actions github-actions Bot added Tests: Passed Game Tests have passed on this PR and removed Tests: Failed Game Tests have failed on this PR labels Jul 24, 2026
@DilithiumThoride
DilithiumThoride marked this pull request as ready for review July 24, 2026 05:00
@DilithiumThoride
DilithiumThoride requested a review from a team as a code owner July 24, 2026 05:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.21 Ignore Version Sync Do not append this issue to the version sync issue tracker. Release: API - X.0.0 Major Breaking Refactors that MUST be in a API-Breaking Release Tests: Passed Game Tests have passed on this PR type: refactor Suggestion to refactor a section of code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant