From 672807e343e3879c6c385f379fe76aa58fea8da7 Mon Sep 17 00:00:00 2001 From: Sollace Date: Wed, 21 Feb 2024 23:22:28 +0000 Subject: [PATCH] Nerf leaves. Fixes #270 --- src/main/resources/assets/unicopia/lang/en_us.json | 1 + .../diets/food_effects/foraging/leafy_greens.json | 10 ++++++++++ .../tags/items/food_types/forage_edible_filling.json | 1 - 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/data/unicopia/diets/food_effects/foraging/leafy_greens.json diff --git a/src/main/resources/assets/unicopia/lang/en_us.json b/src/main/resources/assets/unicopia/lang/en_us.json index a4a00c78..b0c81599 100644 --- a/src/main/resources/assets/unicopia/lang/en_us.json +++ b/src/main/resources/assets/unicopia/lang/en_us.json @@ -617,6 +617,7 @@ "tag.unicopia.food_types.desserts": "Desserts", "tag.unicopia.food_types.fruits_and_vegetables": "Fruits & Vegetables", "tag.unicopia.food_types.drinks": "Drinks", + "tag.minecraft.leaves": "Leaves", "tag.unicopia.food_types.forage_edible_filling": "Bulky Plant Matter", "tag.unicopia.food_types.forage_edible": "Plant Matter", diff --git a/src/main/resources/data/unicopia/diets/food_effects/foraging/leafy_greens.json b/src/main/resources/data/unicopia/diets/food_effects/foraging/leafy_greens.json new file mode 100644 index 00000000..0c81ee64 --- /dev/null +++ b/src/main/resources/data/unicopia/diets/food_effects/foraging/leafy_greens.json @@ -0,0 +1,10 @@ +{ + "tags": [ "minecraft:leaves" ], + "food_component": { + "hunger": 2, + "saturation": 1.5 + }, + "ailment": { + "effects": [] + } +} \ No newline at end of file diff --git a/src/main/resources/data/unicopia/tags/items/food_types/forage_edible_filling.json b/src/main/resources/data/unicopia/tags/items/food_types/forage_edible_filling.json index 5bf8d28d..c3245df5 100644 --- a/src/main/resources/data/unicopia/tags/items/food_types/forage_edible_filling.json +++ b/src/main/resources/data/unicopia/tags/items/food_types/forage_edible_filling.json @@ -2,7 +2,6 @@ "replace": false, "values": [ "minecraft:hay_block", - "#minecraft:leaves", "#c:foraging/edibles_filling" ] }