From 86b0530f4552c51f4886f77f3985ee6a19a8a317 Mon Sep 17 00:00:00 2001 From: Sollace Date: Sun, 23 Jun 2024 15:42:13 +0100 Subject: [PATCH] Make nuts and seeds less nutricious to other races. Fixes #363 --- .../unicopia/datagen/providers/FoodGroupsGenerator.java | 2 +- .../java/com/minelittlepony/unicopia/item/UFoodComponents.java | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/minelittlepony/unicopia/datagen/providers/FoodGroupsGenerator.java b/src/main/java/com/minelittlepony/unicopia/datagen/providers/FoodGroupsGenerator.java index 0b6e6fa5..5a804f43 100644 --- a/src/main/java/com/minelittlepony/unicopia/datagen/providers/FoodGroupsGenerator.java +++ b/src/main/java/com/minelittlepony/unicopia/datagen/providers/FoodGroupsGenerator.java @@ -39,7 +39,7 @@ public class FoodGroupsGenerator { )))); exporter.accept(Unicopia.id("nuts_and_seeds"), new FoodGroupEffects.Builder() .tag(UConventionalTags.Items.GRAIN).tag(UConventionalTags.Items.NUTS).tag(UConventionalTags.Items.SEEDS) - .food(UFoodComponents.BANANA) + .food(UFoodComponents.SEEDS) ); exporter.accept(Unicopia.id("pinecone"), new FoodGroupEffects.Builder().tag(UConventionalTags.Items.PINECONES).food(UFoodComponents.PINECONE).ailment(new HealingAffliction(1))); diff --git a/src/main/java/com/minelittlepony/unicopia/item/UFoodComponents.java b/src/main/java/com/minelittlepony/unicopia/item/UFoodComponents.java index 165425f5..f278d3ad 100644 --- a/src/main/java/com/minelittlepony/unicopia/item/UFoodComponents.java +++ b/src/main/java/com/minelittlepony/unicopia/item/UFoodComponents.java @@ -67,6 +67,7 @@ public interface UFoodComponents { FoodComponent ACORN = builder(1, 0.01F).snack().alwaysEdible().build(); FoodComponent MANGO = builder(8, 0.8F).alwaysEdible().build(); FoodComponent BANANA = builder(6, 0.9F).build(); + FoodComponent SEEDS = builder(1, 0.2F).build(); FoodComponent CANDY = builder(7, 0.9F).alwaysEdible().build(); FoodComponent SALT_CUBE = builder(0, 2.9F).alwaysEdible().build();