-
Notifications
You must be signed in to change notification settings - Fork 12
Port to 1.20.1 #54
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
Port to 1.20.1 #54
Conversation
| // advanced tea | ||
| addTea(consumer, cup_cocoa, Items.COCOA_BEANS, Items.COCOA_BEANS, teapot_frothed); | ||
| addHoney(consumer, cup_cocoa, tea_stick, CocoaItem.CINNAMON_TAG); | ||
| addHoney(consumer, RecipeCategory.MISC, cup_cocoa, tea_stick, CocoaItem.CINNAMON_TAG); |
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 feel like most of the tea crafting recipes should be under food.
The pots themselves I think misc is reasonable, I could go either way on the tea bags and water boiling and alike as long as its consistent. But anything that is edible I'd put under food.
| private final String tag; | ||
| public ShapelessHoneyRecipe(ResourceLocation id, String group, ItemLike tea, Ingredient honey, String tag) { | ||
| super(id, group, TeaCupItem.withHoney(new ItemStack(tea), tag), NonNullList.of(Ingredient.EMPTY, Ingredient.of(tea), honey)); | ||
| super(id, group, CraftingBookCategory.MISC, TeaCupItem.withHoney(new ItemStack(tea), tag), NonNullList.of(Ingredient.EMPTY, Ingredient.of(tea), honey)); |
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.
Food also makes more sense for this category; arguably should be just passed in from JSON however shapeless recipes do it if thats not too much effort.
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.
CraftingBookCategory only has 4 values: BUILDING, REDSTONE, EQUIPMENT and MISC
src/main/java/knightminer/simplytea/data/gen/WorldgenGenerator.java
Outdated
Show resolved
Hide resolved
|
Mostly looks good, just a couple of minor comments. |
This PR ports the mod to 1.20.1
Happy ModToberFest :)