From c44a189beea72c911fedffc37a342974a4675c3f Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 27 Aug 2023 19:33:32 +0100 Subject: [PATCH] Only load the farmers delight recipes when the mod is present --- .../recipes/cutting/apple_pie_from_apple_pie.json | 10 +++++++++- .../recipes/cutting/apple_pie_to_apple_pie.json | 10 +++++++++- .../data/unicopia/recipes/cutting/hay_fries.json | 8 ++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/src/main/resources/data/unicopia/recipes/cutting/apple_pie_from_apple_pie.json b/src/main/resources/data/unicopia/recipes/cutting/apple_pie_from_apple_pie.json index 9ae5f5c2..b03fbab6 100644 --- a/src/main/resources/data/unicopia/recipes/cutting/apple_pie_from_apple_pie.json +++ b/src/main/resources/data/unicopia/recipes/cutting/apple_pie_from_apple_pie.json @@ -5,5 +5,13 @@ ], "result": { "item": "unicopia:apple_pie" - } + }, + "fabric:load_conditions": [ + { + "condition": "fabric:all_mods_loaded", + "values": [ + "farmersdelight" + ] + } + ] } \ No newline at end of file diff --git a/src/main/resources/data/unicopia/recipes/cutting/apple_pie_to_apple_pie.json b/src/main/resources/data/unicopia/recipes/cutting/apple_pie_to_apple_pie.json index 0fc42b7f..1485ee80 100644 --- a/src/main/resources/data/unicopia/recipes/cutting/apple_pie_to_apple_pie.json +++ b/src/main/resources/data/unicopia/recipes/cutting/apple_pie_to_apple_pie.json @@ -5,5 +5,13 @@ ], "result": { "item": "farmersdelight:apple_pie" - } + }, + "fabric:load_conditions": [ + { + "condition": "fabric:all_mods_loaded", + "values": [ + "farmersdelight" + ] + } + ] } \ No newline at end of file diff --git a/src/main/resources/data/unicopia/recipes/cutting/hay_fries.json b/src/main/resources/data/unicopia/recipes/cutting/hay_fries.json index 7fd7095a..c0694f55 100644 --- a/src/main/resources/data/unicopia/recipes/cutting/hay_fries.json +++ b/src/main/resources/data/unicopia/recipes/cutting/hay_fries.json @@ -14,5 +14,13 @@ "count": 9, "item": "unicopia:hay_fries" } + ], + "fabric:load_conditions": [ + { + "condition": "fabric:all_mods_loaded", + "values": [ + "farmersdelight" + ] + } ] } \ No newline at end of file