Skip to content

Set DAWN_FORGE RecipeModifier to be the weak steam parallel one#188

Merged
ko-lja merged 1 commit intomain-1.20.1-forgefrom
jj/dawnforge-recipe-modifier
Dec 24, 2025
Merged

Set DAWN_FORGE RecipeModifier to be the weak steam parallel one#188
ko-lja merged 1 commit intomain-1.20.1-forgefrom
jj/dawnforge-recipe-modifier

Conversation

@jurrejelle
Copy link
Copy Markdown
Contributor

Means you can't run MV+ recipes anymore in the steam dawn_forge

It used to no t do anything since the dawn forge isn't an electric machine so the previous recipemodifier was a no-op
in

(machine, recipe) -> {
                if (!(machine instanceof IOverclockMachine overclockMachine)) return ModifierFunction.IDENTITY;
                if (RecipeHelper.getRecipeEUtTier(recipe) > overclockMachine.getMaxOverclockTier()) {
                    return ModifierFunction.NULL;
                }
                return logic.getModifier(machine, recipe, overclockMachine.getOverclockVoltage());
            })

it'd fail the first IOverclockMachine check

This PR also limits the tier to LV, since all Steam Multis have that limitation built into their modifier.

Before: (Running HV recipe)
image

After (doesn't run)

Copy link
Copy Markdown
Member

@ko-lja ko-lja left a comment

Choose a reason for hiding this comment

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

Woah another PR, lgtm!

@ko-lja ko-lja merged commit 818ee51 into main-1.20.1-forge Dec 24, 2025
1 check passed
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