Skip to content

make all variants of GTRecipeBuilder#adjacentBlock and #adjacentFluid overloads of each other#4526

Merged
jurrejelle merged 3 commits intoGregTechCEu:1.20.1from
screret:sc/deprecate-adjacent-fluid-block-condition-method-renames
Feb 8, 2026
Merged

make all variants of GTRecipeBuilder#adjacentBlock and #adjacentFluid overloads of each other#4526
jurrejelle merged 3 commits intoGregTechCEu:1.20.1from
screret:sc/deprecate-adjacent-fluid-block-condition-method-renames

Conversation

@screret
Copy link
Copy Markdown
Contributor

@screret screret commented Jan 31, 2026

What

Deprecate the duplicate adjacency condition helpers that were added in 7.2.1.

Every AdjacentFluidCondition setter is now named adjacentFluids & every AdjacentBlockCondition setter is now adjacentBlocks.

Implementation Details

Added even more of the same methods and deprecated the duplicates.

Outcome

No 3 different names for overloads of the same method (in the future, at least)

How Was This Tested

There's nothing to test, as it's just deprecations and renames.

Additional Information

The deprecated methods should actually be removed in 8.0.0, as they clutter the class quite a lot.

Potential Compatibility Issues

None, the old methods still exist.

…uid` use the same method name and be overloads of each other

Deprecate the methods that were added in 7.2.1 for removal in 8.0.0.
@screret screret requested a review from a team as a code owner January 31, 2026 14:20
@jurrejelle jurrejelle merged commit 1540937 into GregTechCEu:1.20.1 Feb 8, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants