Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow Steam Multiblocks to have variable parallel amounts #2108

Merged
merged 5 commits into from
Oct 10, 2024

Conversation

Deepacat
Copy link
Contributor

@Deepacat Deepacat commented Oct 8, 2024

What

Changed steam multiblock parallels to not be hardcoded to 8

Implementation Details

Changes parallel value to be passed through the builder of SteamParallelMultiblockMachine rather than hardcoded to 8
Adds a config option for default parallel value of steam multis

Outcome

Players can now change the amount steam multis parallel in config
Modpack developers can now create custom steam multiblocks easily with however many parallels or none at all

Potential Compatibility Issues

Addons that create custom steam multiblocks will likely need to be edited to use the new parallel argument (eg. Steam additions)

@Deepacat Deepacat requested a review from a team as a code owner October 8, 2024 04:42
@krossgg krossgg added the type: refactor Suggestion to refactor a section of code label Oct 9, 2024
@Deepacat
Copy link
Contributor Author

Deepacat commented Oct 9, 2024

Somethings wrong it is paralleling incorrectly, I am doing more testing
(was a kubejs issue with using parallel recipemod)
.recipeModifiers([(machine, recipe, params, result) => SteamParallelMultiblockMachine.recipeModifier(machine, recipe, params, result)])

@krossgg krossgg changed the title Steam multiblock parallel changes Allow Steam Multiblocks to have variable parallel amounts Oct 10, 2024
@krossgg krossgg merged commit ed7a599 into GregTechCEu:1.20.1 Oct 10, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: refactor Suggestion to refactor a section of code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants