Skip to content

Conversation

@Mrbysco
Copy link
Contributor

@Mrbysco Mrbysco commented Oct 5, 2024

This PR ports the mod to 1.20.1

Happy ModToberFest :)

// 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);
Copy link
Owner

@KnightMiner KnightMiner Oct 5, 2024

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));
Copy link
Owner

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.

Copy link
Contributor Author

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

@KnightMiner
Copy link
Owner

Mostly looks good, just a couple of minor comments.

@KnightMiner KnightMiner merged commit 9941bbd into KnightMiner:1.20 Oct 13, 2024
@KnightMiner KnightMiner added compatibility 1.20 Issues affecting 1.20 or PRs targeting 1.20 labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

1.20 Issues affecting 1.20 or PRs targeting 1.20 compatibility

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants