Skip to content

Ranged Ingredient Tests#3856

Merged
jurrejelle merged 54 commits into1.20.1from
dt/ranged-inputs-tests
Oct 3, 2025
Merged

Ranged Ingredient Tests#3856
jurrejelle merged 54 commits into1.20.1from
dt/ranged-inputs-tests

Conversation

@DilithiumThoride
Copy link
Copy Markdown
Contributor

What

Adds test cases for Ranged Item and Fluid Ingredients

@DilithiumThoride DilithiumThoride added 1.20.1 Release: Patch - 0.0.X Smaller changes that either are bug fixes or very minor tweaks. type: tests Test related changes labels Sep 3, 2025
@github-actions github-actions bot added the Tests: Passed Game Tests have passed on this PR label Sep 6, 2025
@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 Sep 6, 2025
@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 Sep 25, 2025
Co-authored-by: Jurre Groenendijk <jurre@jilles.com>
@jurrejelle jurrejelle added the Do Not Merge DO NOT MERGE THIS PR YET! label Sep 25, 2025
@jurrejelle
Copy link
Copy Markdown
Contributor

Do Not Merge - As discussed indiscord, we want to add tests for GTLookup using ranged map ingredients :)

@DilithiumThoride
Copy link
Copy Markdown
Contributor Author

Do Not Merge - As discussed indiscord, we want to add tests for GTLookup using ranged map ingredients :)

(There actually isn't a distinct "ranged map ingredient", it's just a normal map ingredient that takes the max roll during the search and simulation)

@DilithiumThoride DilithiumThoride added ignore changelog PR should not be added to the changelog. and removed Do Not Merge DO NOT MERGE THIS PR YET! labels Oct 1, 2025
Copy link
Copy Markdown
Contributor

@jurrejelle jurrejelle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A few tiny changes, and maybe you can make (very simple) IntProvider[Fluid]Ingredient tests like IntProviderIngredient.of(..., intProvider).test(...) or creating an ItemStackMapIngredient with an int provider and checking .equals? lmk if you need me to elaborate or if that doesn't work :)

@DilithiumThoride

This comment was marked as resolved.

@jurrejelle jurrejelle merged commit a4fa23f into 1.20.1 Oct 3, 2025
4 checks passed
@jurrejelle jurrejelle deleted the dt/ranged-inputs-tests branch October 3, 2025 06:30
LeoDreamer2004 pushed a commit to LeoDreamer2004/GregTech-Modern that referenced this pull request Dec 20, 2025
Co-authored-by: Jurre Groenendijk <jurre@jilles.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20.1 ignore changelog PR should not be added to the changelog. 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: tests Test related changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants