From 959ba5e18ac8423be7acebf4f4e5c2ac8af1737d Mon Sep 17 00:00:00 2001 From: itsmeow Date: Mon, 31 Jan 2022 21:11:35 -0500 Subject: [PATCH] Fix egg recipes on fabric using forge:eggs (Fixes #299) --- .../data/betteranimalsplus/recipes/campfire/fried_egg.json | 2 +- .../data/betteranimalsplus/recipes/furnace/fried_egg.json | 2 +- .../data/betteranimalsplus/recipes/smoking/fried_egg.json | 2 +- .../data/betteranimalsplus/tags/items/eggs_common.json | 7 +++++++ common/src/main/resources/data/c/tags/items/eggs.json | 1 + 5 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 common/src/main/resources/data/betteranimalsplus/tags/items/eggs_common.json diff --git a/common/src/main/resources/data/betteranimalsplus/recipes/campfire/fried_egg.json b/common/src/main/resources/data/betteranimalsplus/recipes/campfire/fried_egg.json index 5a07d3fb..d9424827 100644 --- a/common/src/main/resources/data/betteranimalsplus/recipes/campfire/fried_egg.json +++ b/common/src/main/resources/data/betteranimalsplus/recipes/campfire/fried_egg.json @@ -1,7 +1,7 @@ { "type": "minecraft:campfire_cooking", "ingredient": { - "tag": "forge:eggs" + "tag": "betteranimalsplus:eggs_common" }, "result": "betteranimalsplus:fried_egg", "experience": 0.3 diff --git a/common/src/main/resources/data/betteranimalsplus/recipes/furnace/fried_egg.json b/common/src/main/resources/data/betteranimalsplus/recipes/furnace/fried_egg.json index 4a54f1fc..1ecb32c0 100644 --- a/common/src/main/resources/data/betteranimalsplus/recipes/furnace/fried_egg.json +++ b/common/src/main/resources/data/betteranimalsplus/recipes/furnace/fried_egg.json @@ -1,7 +1,7 @@ { "type": "smelting", "ingredient": { - "tag": "forge:eggs" + "tag": "betteranimalsplus:eggs_common" }, "result": "betteranimalsplus:fried_egg", "experience": 0.3, diff --git a/common/src/main/resources/data/betteranimalsplus/recipes/smoking/fried_egg.json b/common/src/main/resources/data/betteranimalsplus/recipes/smoking/fried_egg.json index 7e9706df..7981ecf5 100644 --- a/common/src/main/resources/data/betteranimalsplus/recipes/smoking/fried_egg.json +++ b/common/src/main/resources/data/betteranimalsplus/recipes/smoking/fried_egg.json @@ -1,7 +1,7 @@ { "type": "minecraft:smoking", "ingredient": { - "tag": "forge:eggs" + "tag": "betteranimalsplus:eggs_common" }, "result": "betteranimalsplus:fried_egg", "experience": 0 diff --git a/common/src/main/resources/data/betteranimalsplus/tags/items/eggs_common.json b/common/src/main/resources/data/betteranimalsplus/tags/items/eggs_common.json new file mode 100644 index 00000000..934b902a --- /dev/null +++ b/common/src/main/resources/data/betteranimalsplus/tags/items/eggs_common.json @@ -0,0 +1,7 @@ +{ + "replace": false, + "values": [ + "#forge:eggs", + "#c:eggs" + ] +} \ No newline at end of file diff --git a/common/src/main/resources/data/c/tags/items/eggs.json b/common/src/main/resources/data/c/tags/items/eggs.json index c90a68ba..66bb0d0a 100644 --- a/common/src/main/resources/data/c/tags/items/eggs.json +++ b/common/src/main/resources/data/c/tags/items/eggs.json @@ -1,6 +1,7 @@ { "replace": false, "values": [ + "minecraft:egg", "betteranimalsplus:pheasant_egg", "betteranimalsplus:turkey_egg", "betteranimalsplus:goose_egg"