-
Notifications
You must be signed in to change notification settings - Fork 176
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
Rework AbstractRecipeLogic #256
Conversation
5f38a61
to
e5b8db7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested it in the game and felt it worked the same as before. The changes are mostly to decouple, which looks good. If I have to say something that getRecipeMap()
doesn't seem to be overridden either. It's a final field, so accessing the recipeMap
directly I think is ok with the design specification.
The reason for |
This PR splits apart AbstractRecipeLogic into many more specialized methods, to allow for more fine-tuned control of machine behavior. The goal was to allow more core operations to be left intact without the need for any copy pasting, while allowing changes to still happen as freely as possible.
The PR also updates many RecipeLogics to use the new methods for cleanliness, including the EBF, Multismelter, Fusion Reactor, and Gas Collector.