-
Notifications
You must be signed in to change notification settings - Fork 315
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
Add a callback for RecipeMap that called when a recipe is added #3942
Conversation
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.
Can this functionality not be achieved already by a downstream recipemap?
I don't use downstream before. |
You can do this with a downstream recipe map just fine. For example for the implosion compressor, electric implosion compressor recipes are added via a downstream map: GT5-Unofficial/src/main/java/gregtech/api/recipe/RecipeMaps.java Lines 1252 to 1257 in f8d3383
|
Replied on https://discord.com/channels/181078474394566657/603348502637969419/1339848796556755039 |
This feature gives the convenience to the 3rd-party mods that need to either read or modify the existing recipes, so they don't need to iterate them after the mod that owns the machine initialized.