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

Add a recipe datagen API #7

Open
wants to merge 11 commits into
base: master
Choose a base branch
from

Conversation

Matyrobbrt
Copy link
Member

@Matyrobbrt Matyrobbrt commented Apr 6, 2023

This PR adds a datagen API for recipes only, currently.

@Matyrobbrt Matyrobbrt marked this pull request as draft April 6, 2023 16:27
@Matyrobbrt Matyrobbrt marked this pull request as ready for review April 13, 2023 16:37
@Matyrobbrt Matyrobbrt requested a review from lukebemish April 13, 2023 16:37
@lukebemish
Copy link
Member

Ooh, this looks really nice. I'll try to review it tomorrow or Sunday

group = 'no'

requires ItemTags.COAL_ORES
}.save()
Copy link
Member

Choose a reason for hiding this comment

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

Are there any scenarios where you wouldn't want to save this immediately? If not, this could be auto-saved.

Copy link
Member Author

Choose a reason for hiding this comment

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

Saving forgotten recipes is already handled by saveForgotten().

Copy link
Member

Choose a reason for hiding this comment

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

But are there any cases where you would want to define recipes and not save them? If not, auto-save by default would be more user-friendly.

Copy link
Member

@lukebemish lukebemish left a comment

Choose a reason for hiding this comment

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

Looks good to me, though I haven't tested it

Copy link
Member

@PaintNinja PaintNinja left a comment

Choose a reason for hiding this comment

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

Marking a conversation as resolved when asked a question doesn't answer it

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.

3 participants