Fix recipe mistake missed when checking the generated recipe diff

This commit is contained in:
Hubry committed 2020-02-27 15:29:05 +01:00
1 parent db3d72c726
commit d3dfa2763c
2 files changed
+11 -4

No files matched your search

@@ -6,9 +6,14 @@
"SSS"
],
"key": {
"P": {
"tag": "forge:gems/mana_diamond"
},
"P": [
{
"item": "botania:mana_pearl"
},
{
"tag": "forge:gems/mana_diamond"
}
],
"S": {
"tag": "botania:livingrock"
}
@@ -982,7 +982,9 @@ public class RecipeProvider extends net.minecraft.data.RecipeProvider {
.addCriterion("has_item", hasItem(ModTags.Items.PETALS))
.build(WrapperResult.ofType(TwigWandRecipe.SERIALIZER, consumer));
ShapedRecipeBuilder.shapedRecipe(ModItems.manaTablet)
.key('P', ModTags.Items.GEMS_MANA_DIAMOND)
.key('P', Ingredient.fromItemListStream(Stream.of(
new Ingredient.SingleItemList(new ItemStack(ModItems.manaPearl)),
new Ingredient.TagList(ModTags.Items.GEMS_MANA_DIAMOND))))
.key('S', ModTags.Items.LIVINGROCK)
.patternLine("SSS")
.patternLine("SPS")