From adabe0b6144728dabcf738526d1644ccf4babcd6 Mon Sep 17 00:00:00 2001 From: Elenterius Date: Fri, 29 Nov 2024 23:46:32 +0100 Subject: [PATCH] feat: add Overweight Farming compat --- build.gradle | 3 +- .../recipes/DecomposingRecipeProvider.java | 72 ++++++++++++++++++ .../recipes/DigestingRecipeProvider.java | 53 +++++++++++++ .../decomposing/overweight_apple_block.json | 47 ++++++++++++ .../overweight_baked_potato_block.json | 47 ++++++++++++ .../overweight_beetroot_block.json | 47 ++++++++++++ .../decomposing/overweight_cabbage_block.json | 51 +++++++++++++ .../decomposing/overweight_carrot_block.json | 47 ++++++++++++ .../decomposing/overweight_cocoa_block.json | 47 ++++++++++++ .../overweight_nether_wart_block.json | 47 ++++++++++++ .../decomposing/overweight_onion_block.json | 51 +++++++++++++ .../overweight_poisonous_potato_block.json | 47 ++++++++++++ .../decomposing/overweight_potato_block.json | 47 ++++++++++++ .../peeled_overweight_cocoa_block.json | 47 ++++++++++++ .../biomancy/decomposing/vegetable_peels.json | 47 ++++++++++++ ...t_paste_from_half_seeded_peeled_melon.json | 47 ++++++++++++ ...ent_paste_from_overweight_apple_block.json | 47 ++++++++++++ ...te_from_overweight_baked_potato_block.json | 47 ++++++++++++ ..._paste_from_overweight_beetroot_block.json | 47 ++++++++++++ ...t_paste_from_overweight_cabbage_block.json | 51 +++++++++++++ ...nt_paste_from_overweight_carrot_block.json | 47 ++++++++++++ ...ent_paste_from_overweight_cocoa_block.json | 47 ++++++++++++ ...nt_paste_from_overweight_ginger_block.json | 51 +++++++++++++ ...te_from_overweight_golden_apple_block.json | 47 ++++++++++++ ...ient_paste_from_overweight_kiwi_block.json | 51 +++++++++++++ ...ste_from_overweight_nether_wart_block.json | 47 ++++++++++++ ...ent_paste_from_overweight_onion_block.json | 51 +++++++++++++ ...rom_overweight_poisonous_potato_block.json | 47 ++++++++++++ ...nt_paste_from_overweight_potato_block.json | 47 ++++++++++++ ...te_from_peeled_overweight_cocoa_block.json | 47 ++++++++++++ ...e_from_peeled_overweight_ginger_block.json | 51 +++++++++++++ ...ste_from_peeled_overweight_kiwi_block.json | 51 +++++++++++++ ...trient_paste_from_seeded_peeled_melon.json | 47 ++++++++++++ ...ient_paste_from_seedless_peeled_melon.json | 47 ++++++++++++ .../nutrient_paste_from_vegetable_peels.json | 47 ++++++++++++ .../decomposing/overweight_apple_block.json | 24 ++++++ .../overweight_baked_potato_block.json | 24 ++++++ .../overweight_beetroot_block.json | 24 ++++++ .../decomposing/overweight_cabbage_block.json | 28 +++++++ .../decomposing/overweight_carrot_block.json | 24 ++++++ .../decomposing/overweight_cocoa_block.json | 24 ++++++ .../overweight_nether_wart_block.json | 32 ++++++++ .../decomposing/overweight_onion_block.json | 28 +++++++ .../overweight_poisonous_potato_block.json | 32 ++++++++ .../decomposing/overweight_potato_block.json | 24 ++++++ .../peeled_overweight_cocoa_block.json | 24 ++++++ .../recipes/decomposing/vegetable_peels.json | 24 ++++++ ...t_paste_from_half_seeded_peeled_melon.json | 18 +++++ ...ent_paste_from_overweight_apple_block.json | 18 +++++ ...te_from_overweight_baked_potato_block.json | 18 +++++ ..._paste_from_overweight_beetroot_block.json | 18 +++++ ...t_paste_from_overweight_cabbage_block.json | 22 ++++++ ...nt_paste_from_overweight_carrot_block.json | 18 +++++ ...ent_paste_from_overweight_cocoa_block.json | 18 +++++ ...nt_paste_from_overweight_ginger_block.json | 22 ++++++ ...te_from_overweight_golden_apple_block.json | 18 +++++ ...ient_paste_from_overweight_kiwi_block.json | 22 ++++++ ...ste_from_overweight_nether_wart_block.json | 18 +++++ ...ent_paste_from_overweight_onion_block.json | 22 ++++++ ...rom_overweight_poisonous_potato_block.json | 18 +++++ ...nt_paste_from_overweight_potato_block.json | 18 +++++ ...te_from_peeled_overweight_cocoa_block.json | 18 +++++ ...e_from_peeled_overweight_ginger_block.json | 22 ++++++ ...ste_from_peeled_overweight_kiwi_block.json | 22 ++++++ ...trient_paste_from_seeded_peeled_melon.json | 18 +++++ ...ient_paste_from_seedless_peeled_melon.json | 18 +++++ .../nutrient_paste_from_vegetable_peels.json | 17 +++++ .../integration/ModsCompatHandler.java | 40 ++++++---- .../OverweightFarmingHelper.java | 27 +++++++ .../OverweightFarmingIntegration.java | 75 +++++++++++++++++++ .../overweightfarming/package-info.java | 7 ++ .../integration/tetra/TetraCompat.java | 2 +- .../biomancy/item/FertilizerItem.java | 17 ++++- 73 files changed, 2507 insertions(+), 20 deletions(-) create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_apple_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_baked_potato_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_beetroot_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_cabbage_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_carrot_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_cocoa_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_nether_wart_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_onion_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_poisonous_potato_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_potato_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/peeled_overweight_cocoa_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/vegetable_peels.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_half_seeded_peeled_melon.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_apple_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_baked_potato_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_beetroot_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_cabbage_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_carrot_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_cocoa_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_ginger_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_golden_apple_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_kiwi_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_nether_wart_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_onion_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_poisonous_potato_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_potato_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_cocoa_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_ginger_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_kiwi_block.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_seeded_peeled_melon.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_seedless_peeled_melon.json create mode 100644 src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_vegetable_peels.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/overweight_apple_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/overweight_baked_potato_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/overweight_beetroot_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/overweight_cabbage_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/overweight_carrot_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/overweight_cocoa_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/overweight_nether_wart_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/overweight_onion_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/overweight_poisonous_potato_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/overweight_potato_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/peeled_overweight_cocoa_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/decomposing/vegetable_peels.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_half_seeded_peeled_melon.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_apple_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_baked_potato_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_beetroot_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_cabbage_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_carrot_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_cocoa_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_ginger_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_golden_apple_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_kiwi_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_nether_wart_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_onion_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_poisonous_potato_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_potato_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_cocoa_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_ginger_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_kiwi_block.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_seeded_peeled_melon.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_seedless_peeled_melon.json create mode 100644 src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_vegetable_peels.json create mode 100644 src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/OverweightFarmingHelper.java create mode 100644 src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/OverweightFarmingIntegration.java create mode 100644 src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/package-info.java diff --git a/build.gradle b/build.gradle index b7bfffd70..89cdf50af 100644 --- a/build.gradle +++ b/build.gradle @@ -230,7 +230,8 @@ dependencies { datagenImplementation fg.deobf("maven.modrinth:farmers-delight:1.20.1-1.2.5") datagenImplementation fg.deobf("curse.maven:alexs-delight-556448:5028450") -// implementation fg.deobf("maven.modrinth:overweight-farming:1.20.1-2.1.0-forge") + implementation fg.deobf("maven.modrinth:overweight-farming:1.20.1-2.1.0-forge") + datagenImplementation fg.deobf("maven.modrinth:overweight-farming:1.20.1-2.1.0-forge") datagenImplementation sourceSets.main.output } diff --git a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/DecomposingRecipeProvider.java b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/DecomposingRecipeProvider.java index d7b760977..bd8ded6dd 100644 --- a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/DecomposingRecipeProvider.java +++ b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/DecomposingRecipeProvider.java @@ -31,6 +31,9 @@ import net.minecraft.world.item.Items; import net.minecraftforge.common.Tags; import net.minecraftforge.registries.RegistryObject; +import net.orcinus.overweightfarming.OverweightFarming; +import net.orcinus.overweightfarming.init.OFBlocks; +import net.orcinus.overweightfarming.init.OFItems; import vectorwing.farmersdelight.FarmersDelight; import java.util.List; @@ -54,6 +57,7 @@ protected void buildRecipes(Consumer consumer) { buildBiomesOPlentyRecipes(consumer); buildFarmersDelightRecipes(consumer); + buildOverweightFarmingRecipes(consumer); buildAlexsMobsRecipes(consumer); buildAlexsDelightRecipes(consumer); @@ -424,6 +428,10 @@ private DecomposingRecipeBuilder farmersDelightRecipe() { return DecomposingRecipeBuilder.create().ifModLoaded(FarmersDelight.MODID); } + private DecomposingRecipeBuilder overweightFarmingRecipe() { + return DecomposingRecipeBuilder.create().ifModLoaded(OverweightFarming.MODID); + } + private DecomposingRecipeBuilder alexsMobsRecipe() { return DecomposingRecipeBuilder.create().ifModLoaded(AlexsMobs.MODID); } @@ -461,6 +469,70 @@ class FarmersDelightItems extends vectorwing.farmersdelight.common.registry.ModI .unlockedBy(FarmersDelightItems.HAM).save(consumer); } + private void buildOverweightFarmingRecipes(Consumer consumer) { + overweightFarmingRecipe() + .setIngredient(OFItems.VEGETABLE_PEELS.get()) + .addOutput(ModItems.ORGANIC_MATTER.get(), 2, 4) + .unlockedBy(OFItems.VEGETABLE_PEELS.get()).save(consumer); + + overweightFarmingRecipe() + .setIngredient(OFBlocks.OVERWEIGHT_COCOA.get()) + .addOutput(ModItems.ORGANIC_MATTER.get(), 2 * 10, 4 * 10) + .unlockedBy(OFBlocks.OVERWEIGHT_COCOA.get()).save(consumer); + + overweightFarmingRecipe() + .setIngredient(OFBlocks.PEELED_OVERWEIGHT_COCOA.get()) + .addOutput(ModItems.ORGANIC_MATTER.get(), 2 * 10 - 2, 4 * 10 - 4) + .unlockedBy(OFBlocks.OVERWEIGHT_COCOA.get()).save(consumer); + + overweightFarmingRecipe() + .setIngredient(OFBlocks.OVERWEIGHT_APPLE.get()) + .addOutput(ModItems.ORGANIC_MATTER.get(), 10, 2 * 10) + .unlockedBy(OFBlocks.OVERWEIGHT_APPLE.get()).save(consumer); + + overweightFarmingRecipe() + .setIngredient(OFBlocks.OVERWEIGHT_BEETROOT.get()) + .addOutput(ModItems.ORGANIC_MATTER.get(), 2 * 10, 4 * 10) + .unlockedBy(OFBlocks.OVERWEIGHT_BEETROOT.get()).save(consumer); + + overweightFarmingRecipe() + .setIngredient(OFBlocks.OVERWEIGHT_CARROT.get()) + .addOutput(ModItems.ORGANIC_MATTER.get(), 10, 2 * 10) + .unlockedBy(OFBlocks.OVERWEIGHT_CARROT.get()).save(consumer); + + overweightFarmingRecipe() + .setIngredient(OFBlocks.OVERWEIGHT_POTATO.get()) + .addOutput(ModItems.ORGANIC_MATTER.get(), 10, 2 * 10) + .unlockedBy(OFBlocks.OVERWEIGHT_POTATO.get()).save(consumer); + + overweightFarmingRecipe() + .setIngredient(OFBlocks.OVERWEIGHT_POISONOUS_POTATO.get()) + .addOutput(ModItems.TOXIN_EXTRACT.get(), 2 * 10, 4 * 10) + .addOutput(ModItems.ORGANIC_MATTER.get(), 10, 3 * 10) + .unlockedBy(OFBlocks.OVERWEIGHT_POISONOUS_POTATO.get()).save(consumer); + + overweightFarmingRecipe() + .setIngredient(OFBlocks.OVERWEIGHT_BAKED_POTATO.get()) + .addOutput(ModItems.ORGANIC_MATTER.get(), 2 * 10, 5 * 10) + .unlockedBy(OFBlocks.OVERWEIGHT_BAKED_POTATO.get()).save(consumer); + + overweightFarmingRecipe() + .setIngredient(OFBlocks.OVERWEIGHT_NETHER_WART.get()) + .addOutput(ModItems.ORGANIC_MATTER.get(), 10, 2 * 10) + .addOutput(ModItems.EXOTIC_DUST.get(), 4, 10) + .unlockedBy(OFBlocks.OVERWEIGHT_NETHER_WART.get()).save(consumer); + + overweightFarmingRecipe().ifModLoaded(FarmersDelight.MODID) + .setIngredient(OFBlocks.OVERWEIGHT_CABBAGE.get()) + .addOutput(ModItems.ORGANIC_MATTER.get(), 10, 2 * 10) + .unlockedBy(OFBlocks.OVERWEIGHT_CABBAGE.get()).save(consumer); + + overweightFarmingRecipe().ifModLoaded(FarmersDelight.MODID) + .setIngredient(OFBlocks.OVERWEIGHT_ONION.get()) + .addOutput(ModItems.ORGANIC_MATTER.get(), 10, 2 * 10) + .unlockedBy(OFBlocks.OVERWEIGHT_ONION.get()).save(consumer); + } + private void buildAlexsMobsRecipes(Consumer consumer) { alexsMobsRecipe() .setIngredient(AMItemRegistry.BEAR_FUR) diff --git a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/DigestingRecipeProvider.java b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/DigestingRecipeProvider.java index dffcfaa2e..f1551ce07 100644 --- a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/DigestingRecipeProvider.java +++ b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/DigestingRecipeProvider.java @@ -22,7 +22,11 @@ import net.minecraftforge.common.Tags; import net.minecraftforge.registries.ForgeRegistries; import net.minecraftforge.registries.RegistryObject; +import net.orcinus.overweightfarming.OverweightFarming; +import net.orcinus.overweightfarming.init.OFBlocks; +import net.orcinus.overweightfarming.init.OFItems; import vectorwing.farmersdelight.FarmersDelight; +import vectorwing.farmersdelight.common.FoodValues; import java.util.List; import java.util.function.Consumer; @@ -64,6 +68,7 @@ protected void buildRecipes(Consumer consumer) { buildFromOrganicRecipes(consumer); buildFarmersDelightRecipes(consumer); + buildOverweightFarmingRecipes(consumer); buildAlexsMobsRecipes(consumer); buildAlexsCavesRecipes(consumer); @@ -155,6 +160,10 @@ private DigesterRecipeBuilder farmersDelightRecipe(int count, ItemLike ingredien return nutrientPasteRecipe(count, ingredient).ifModLoaded(FarmersDelight.MODID); } + private DigesterRecipeBuilder overweightFarmingRecipe(int count, ItemLike ingredient) { + return nutrientPasteRecipe(count, ingredient).ifModLoaded(OverweightFarming.MODID); + } + private DigesterRecipeBuilder alexsMobsRecipe(int count, ItemLike ingredient) { return nutrientPasteRecipe(count, ingredient).ifModLoaded(AlexsMobs.MODID); } @@ -181,6 +190,50 @@ class FarmersDelightItems extends vectorwing.farmersdelight.common.registry.ModI farmersDelightRecipe(4 * 2 + 2, FarmersDelightItems.HOT_COCOA.get()).setCraftingCost(3).addCraftingTimeModifier(30).save(consumer); } + private void buildOverweightFarmingRecipes(Consumer consumer) { + int peelNutrition = 1; + overweightFarmingRecipe(peelNutrition, OFItems.VEGETABLE_PEELS.get()).save(consumer); + + int seedNutrition = 1; + overweightFarmingRecipe(7 * Foods.MELON_SLICE.getNutrition() - peelNutrition, OFBlocks.SEEDED_PEELED_MELON.get()).setCraftingCost(3).addCraftingTimeModifier(25).save(consumer); + overweightFarmingRecipe(7 * Foods.MELON_SLICE.getNutrition() - peelNutrition - seedNutrition, OFBlocks.HALF_SEEDED_PEELED_MELON.get()).setCraftingCost(3).addCraftingTimeModifier(20).save(consumer); + overweightFarmingRecipe(7 * Foods.MELON_SLICE.getNutrition() - peelNutrition - seedNutrition * 2, OFBlocks.SEEDLESS_PEELED_MELON.get()).setCraftingCost(3).addCraftingTimeModifier(15).save(consumer); + + overweightFarmingRecipe(Foods.CARROT.getNutrition() * 10, OFBlocks.OVERWEIGHT_CARROT.get()).setCraftingCost(3).addCraftingTimeModifier(30).save(consumer); + overweightFarmingRecipe(Foods.BEETROOT.getNutrition() * 10, OFBlocks.OVERWEIGHT_BEETROOT.get()).setCraftingCost(3).addCraftingTimeModifier(30).save(consumer); + overweightFarmingRecipe(Foods.POTATO.getNutrition() * 10, OFBlocks.OVERWEIGHT_POTATO.get()).setCraftingCost(3).addCraftingTimeModifier(30).save(consumer); + overweightFarmingRecipe(Foods.POISONOUS_POTATO.getNutrition() * 10, OFBlocks.OVERWEIGHT_POISONOUS_POTATO.get()).setCraftingCost(3).addCraftingTimeModifier(30).save(consumer); + overweightFarmingRecipe(Foods.BAKED_POTATO.getNutrition() * 10, OFBlocks.OVERWEIGHT_BAKED_POTATO.get()).setCraftingCost(3).addCraftingTimeModifier(30).save(consumer); + + overweightFarmingRecipe(4 * 10, OFBlocks.OVERWEIGHT_COCOA.get()).setCraftingCost(3).addCraftingTimeModifier(60).save(consumer); + overweightFarmingRecipe(4 * 10 - peelNutrition, OFBlocks.PEELED_OVERWEIGHT_COCOA.get()).setCraftingCost(3).addCraftingTimeModifier(45).save(consumer); + overweightFarmingRecipe(2 * 10, OFBlocks.OVERWEIGHT_NETHER_WART.get()).setCraftingCost(2 * 10 - 2).addCraftingTimeModifier(30).save(consumer); + + overweightFarmingRecipe(Foods.APPLE.getNutrition() * 10, OFBlocks.OVERWEIGHT_APPLE.get()).setCraftingCost(3).addCraftingTimeModifier(30).save(consumer); + overweightFarmingRecipe(Foods.GOLDEN_APPLE.getNutrition() * 10, OFBlocks.OVERWEIGHT_GOLDEN_APPLE.get()).setCraftingCost(3).addCraftingTimeModifier(60).save(consumer); + + overweightFarmingRecipe(FoodValues.ONION.getNutrition() * 10, OFBlocks.OVERWEIGHT_ONION.get()).ifModLoaded(FarmersDelight.MODID) + .setCraftingCost(3).addCraftingTimeModifier(30) + .save(consumer); + overweightFarmingRecipe(FoodValues.CABBAGE.getNutrition() * 10, OFBlocks.OVERWEIGHT_CABBAGE.get()).ifModLoaded(FarmersDelight.MODID) + .setCraftingCost(3).addCraftingTimeModifier(30) + .save(consumer); + + overweightFarmingRecipe(10, OFBlocks.OVERWEIGHT_KIWI.get()).ifModLoaded("hedgehog") + .setCraftingCost(3).addCraftingTimeModifier(30) + .save(consumer); + overweightFarmingRecipe(10 - peelNutrition, OFBlocks.PEELED_OVERWEIGHT_KIWI.get()).ifModLoaded("hedgehog") + .setCraftingCost(3).addCraftingTimeModifier(20) + .save(consumer); + + overweightFarmingRecipe(10, OFBlocks.OVERWEIGHT_GINGER.get()).ifModLoaded("snowyspirit") + .setCraftingCost(3).addCraftingTimeModifier(30) + .save(consumer); + overweightFarmingRecipe(10 - peelNutrition, OFBlocks.PEELED_OVERWEIGHT_GINGER.get()).ifModLoaded("snowyspirit") + .setCraftingCost(3).addCraftingTimeModifier(25) + .save(consumer); + } + private void buildAlexsMobsRecipes(Consumer consumer) { alexsMobsRecipe(1, AMBlockRegistry.CAIMAN_EGG.get()).save(consumer); alexsMobsRecipe(1, AMBlockRegistry.CROCODILE_EGG.get()).save(consumer); diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_apple_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_apple_block.json new file mode 100644 index 000000000..17db33e0f --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_apple_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_apple_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_apple_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/overweight_apple_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_apple_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/overweight_apple_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_baked_potato_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_baked_potato_block.json new file mode 100644 index 000000000..8271d4300 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_baked_potato_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_baked_potato_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_baked_potato_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/overweight_baked_potato_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_baked_potato_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/overweight_baked_potato_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_beetroot_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_beetroot_block.json new file mode 100644 index 000000000..d48b7a09d --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_beetroot_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_beetroot_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_beetroot_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/overweight_beetroot_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_beetroot_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/overweight_beetroot_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_cabbage_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_cabbage_block.json new file mode 100644 index 000000000..6b9b355f8 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_cabbage_block.json @@ -0,0 +1,51 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_cabbage_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_cabbage_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/overweight_cabbage_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_cabbage_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/overweight_cabbage_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "farmersdelight" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_carrot_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_carrot_block.json new file mode 100644 index 000000000..0bd005bcb --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_carrot_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_carrot_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_carrot_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/overweight_carrot_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_carrot_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/overweight_carrot_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_cocoa_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_cocoa_block.json new file mode 100644 index 000000000..3f6f77fe3 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_cocoa_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_cocoa_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_cocoa_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/overweight_cocoa_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_cocoa_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/overweight_cocoa_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_nether_wart_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_nether_wart_block.json new file mode 100644 index 000000000..183078cc3 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_nether_wart_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_nether_wart_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_nether_wart_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/overweight_nether_wart_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_nether_wart_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/overweight_nether_wart_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_onion_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_onion_block.json new file mode 100644 index 000000000..64088ab1c --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_onion_block.json @@ -0,0 +1,51 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_onion_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_onion_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/overweight_onion_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_onion_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/overweight_onion_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "farmersdelight" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_poisonous_potato_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_poisonous_potato_block.json new file mode 100644 index 000000000..5ee32b2c2 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_poisonous_potato_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_poisonous_potato_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_poisonous_potato_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/overweight_poisonous_potato_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_poisonous_potato_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/overweight_poisonous_potato_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_potato_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_potato_block.json new file mode 100644 index 000000000..5994ab089 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/overweight_potato_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_potato_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_potato_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/overweight_potato_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_potato_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/overweight_potato_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/peeled_overweight_cocoa_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/peeled_overweight_cocoa_block.json new file mode 100644 index 000000000..38039d365 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/peeled_overweight_cocoa_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_cocoa_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_cocoa_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/peeled_overweight_cocoa_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_cocoa_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/peeled_overweight_cocoa_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/vegetable_peels.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/vegetable_peels.json new file mode 100644 index 000000000..eeab84df4 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/decomposing/vegetable_peels.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:decomposing/vegetable_peels" + }, + "trigger": "minecraft:recipe_unlocked" + }, + "has_vegetable_peels": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:vegetable_peels" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + } + }, + "requirements": [ + [ + "has_vegetable_peels", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:decomposing/vegetable_peels" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_half_seeded_peeled_melon.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_half_seeded_peeled_melon.json new file mode 100644 index 000000000..9e75ea2d4 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_half_seeded_peeled_melon.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_half_seeded_peeled_melon": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:half_seeded_peeled_melon" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_half_seeded_peeled_melon" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_half_seeded_peeled_melon", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_half_seeded_peeled_melon" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_apple_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_apple_block.json new file mode 100644 index 000000000..005faf05e --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_apple_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_apple_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_apple_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_apple_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_apple_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_apple_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_baked_potato_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_baked_potato_block.json new file mode 100644 index 000000000..f48dd434f --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_baked_potato_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_baked_potato_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_baked_potato_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_baked_potato_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_baked_potato_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_baked_potato_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_beetroot_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_beetroot_block.json new file mode 100644 index 000000000..6e2e81f57 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_beetroot_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_beetroot_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_beetroot_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_beetroot_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_beetroot_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_beetroot_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_cabbage_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_cabbage_block.json new file mode 100644 index 000000000..d168f2b50 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_cabbage_block.json @@ -0,0 +1,51 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_cabbage_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_cabbage_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_cabbage_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_cabbage_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_cabbage_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "farmersdelight" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_carrot_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_carrot_block.json new file mode 100644 index 000000000..7820a362f --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_carrot_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_carrot_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_carrot_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_carrot_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_carrot_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_carrot_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_cocoa_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_cocoa_block.json new file mode 100644 index 000000000..f6e230018 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_cocoa_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_cocoa_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_cocoa_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_cocoa_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_cocoa_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_cocoa_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_ginger_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_ginger_block.json new file mode 100644 index 000000000..c25c23b15 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_ginger_block.json @@ -0,0 +1,51 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_ginger_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_ginger_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_ginger_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_ginger_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_ginger_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "snowyspirit" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_golden_apple_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_golden_apple_block.json new file mode 100644 index 000000000..70cec1d51 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_golden_apple_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_golden_apple_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_golden_apple_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_golden_apple_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_golden_apple_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_golden_apple_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_kiwi_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_kiwi_block.json new file mode 100644 index 000000000..ee17dc165 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_kiwi_block.json @@ -0,0 +1,51 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_kiwi_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_kiwi_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_kiwi_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_kiwi_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_kiwi_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "hedgehog" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_nether_wart_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_nether_wart_block.json new file mode 100644 index 000000000..e85d254a1 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_nether_wart_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_nether_wart_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_nether_wart_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_nether_wart_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_nether_wart_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_nether_wart_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_onion_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_onion_block.json new file mode 100644 index 000000000..e8bed5222 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_onion_block.json @@ -0,0 +1,51 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_onion_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_onion_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_onion_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_onion_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_onion_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "farmersdelight" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_poisonous_potato_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_poisonous_potato_block.json new file mode 100644 index 000000000..1d3b1d537 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_poisonous_potato_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_poisonous_potato_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_poisonous_potato_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_poisonous_potato_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_poisonous_potato_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_poisonous_potato_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_potato_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_potato_block.json new file mode 100644 index 000000000..1fc638b26 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_overweight_potato_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_overweight_potato_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:overweight_potato_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_overweight_potato_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_overweight_potato_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_overweight_potato_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_cocoa_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_cocoa_block.json new file mode 100644 index 000000000..4f9e5befe --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_cocoa_block.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_peeled_overweight_cocoa_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:peeled_overweight_cocoa_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_peeled_overweight_cocoa_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_peeled_overweight_cocoa_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_peeled_overweight_cocoa_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_ginger_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_ginger_block.json new file mode 100644 index 000000000..4bf7442e0 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_ginger_block.json @@ -0,0 +1,51 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_peeled_overweight_ginger_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:peeled_overweight_ginger_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_peeled_overweight_ginger_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_peeled_overweight_ginger_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_peeled_overweight_ginger_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "snowyspirit" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_kiwi_block.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_kiwi_block.json new file mode 100644 index 000000000..b0a6b24b0 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_peeled_overweight_kiwi_block.json @@ -0,0 +1,51 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_peeled_overweight_kiwi_block": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:peeled_overweight_kiwi_block" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_peeled_overweight_kiwi_block" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_peeled_overweight_kiwi_block", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_peeled_overweight_kiwi_block" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "hedgehog" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_seeded_peeled_melon.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_seeded_peeled_melon.json new file mode 100644 index 000000000..fea749e9c --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_seeded_peeled_melon.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_seeded_peeled_melon": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:seeded_peeled_melon" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_seeded_peeled_melon" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_seeded_peeled_melon", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_seeded_peeled_melon" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_seedless_peeled_melon.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_seedless_peeled_melon.json new file mode 100644 index 000000000..56da252a0 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_seedless_peeled_melon.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_seedless_peeled_melon": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:seedless_peeled_melon" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_seedless_peeled_melon" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_seedless_peeled_melon", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_seedless_peeled_melon" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_vegetable_peels.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_vegetable_peels.json new file mode 100644 index 000000000..5457a708c --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/digesting/nutrient_paste_from_vegetable_peels.json @@ -0,0 +1,47 @@ +{ + "advancements": [ + { + "advancement": { + "parent": "minecraft:recipes/root", + "criteria": { + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:digesting/nutrient_paste_from_vegetable_peels" + }, + "trigger": "minecraft:recipe_unlocked" + }, + "has_vegetable_peels": { + "conditions": { + "items": [ + { + "items": [ + "overweight_farming:vegetable_peels" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + } + }, + "requirements": [ + [ + "has_vegetable_peels", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:digesting/nutrient_paste_from_vegetable_peels" + ] + }, + "sends_telemetry_event": false + }, + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ] + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/overweight_apple_block.json b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_apple_block.json new file mode 100644 index 000000000..d3ddaa570 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_apple_block.json @@ -0,0 +1,24 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_apple_block" + }, + "nutrientsCost": 1, + "processingTime": 400, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 20, + "min": 10 + }, + "item": "biomancy:organic_matter" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/overweight_baked_potato_block.json b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_baked_potato_block.json new file mode 100644 index 000000000..f3e4cff9d --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_baked_potato_block.json @@ -0,0 +1,24 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_baked_potato_block" + }, + "nutrientsCost": 1, + "processingTime": 1000, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 50, + "min": 20 + }, + "item": "biomancy:organic_matter" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/overweight_beetroot_block.json b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_beetroot_block.json new file mode 100644 index 000000000..7444dba6b --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_beetroot_block.json @@ -0,0 +1,24 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_beetroot_block" + }, + "nutrientsCost": 1, + "processingTime": 800, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 40, + "min": 20 + }, + "item": "biomancy:organic_matter" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/overweight_cabbage_block.json b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_cabbage_block.json new file mode 100644 index 000000000..9b63be6a4 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_cabbage_block.json @@ -0,0 +1,28 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "farmersdelight" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_cabbage_block" + }, + "nutrientsCost": 1, + "processingTime": 400, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 20, + "min": 10 + }, + "item": "biomancy:organic_matter" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/overweight_carrot_block.json b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_carrot_block.json new file mode 100644 index 000000000..80d48d05d --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_carrot_block.json @@ -0,0 +1,24 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_carrot_block" + }, + "nutrientsCost": 1, + "processingTime": 400, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 20, + "min": 10 + }, + "item": "biomancy:organic_matter" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/overweight_cocoa_block.json b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_cocoa_block.json new file mode 100644 index 000000000..9e7e2e60c --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_cocoa_block.json @@ -0,0 +1,24 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_cocoa_block" + }, + "nutrientsCost": 1, + "processingTime": 800, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 40, + "min": 20 + }, + "item": "biomancy:organic_matter" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/overweight_nether_wart_block.json b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_nether_wart_block.json new file mode 100644 index 000000000..9c442ac59 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_nether_wart_block.json @@ -0,0 +1,32 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_nether_wart_block" + }, + "nutrientsCost": 1, + "processingTime": 900, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 20, + "min": 10 + }, + "item": "biomancy:organic_matter" + }, + { + "countRange": { + "type": "uniform", + "max": 10, + "min": 4 + }, + "item": "biomancy:exotic_dust" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/overweight_onion_block.json b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_onion_block.json new file mode 100644 index 000000000..802fb6f79 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_onion_block.json @@ -0,0 +1,28 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "farmersdelight" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_onion_block" + }, + "nutrientsCost": 1, + "processingTime": 400, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 20, + "min": 10 + }, + "item": "biomancy:organic_matter" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/overweight_poisonous_potato_block.json b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_poisonous_potato_block.json new file mode 100644 index 000000000..cb358cead --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_poisonous_potato_block.json @@ -0,0 +1,32 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_poisonous_potato_block" + }, + "nutrientsCost": 2, + "processingTime": 1400, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 40, + "min": 20 + }, + "item": "biomancy:toxin_extract" + }, + { + "countRange": { + "type": "uniform", + "max": 30, + "min": 10 + }, + "item": "biomancy:organic_matter" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/overweight_potato_block.json b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_potato_block.json new file mode 100644 index 000000000..968ec20c0 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/overweight_potato_block.json @@ -0,0 +1,24 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_potato_block" + }, + "nutrientsCost": 1, + "processingTime": 400, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 20, + "min": 10 + }, + "item": "biomancy:organic_matter" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/peeled_overweight_cocoa_block.json b/src/generated/resources/data/biomancy/recipes/decomposing/peeled_overweight_cocoa_block.json new file mode 100644 index 000000000..ba4925e44 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/peeled_overweight_cocoa_block.json @@ -0,0 +1,24 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:peeled_overweight_cocoa_block" + }, + "nutrientsCost": 1, + "processingTime": 720, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 36, + "min": 18 + }, + "item": "biomancy:organic_matter" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/decomposing/vegetable_peels.json b/src/generated/resources/data/biomancy/recipes/decomposing/vegetable_peels.json new file mode 100644 index 000000000..597e7b6f8 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/decomposing/vegetable_peels.json @@ -0,0 +1,24 @@ +{ + "type": "biomancy:decomposing", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:vegetable_peels" + }, + "nutrientsCost": 1, + "processingTime": 80, + "results": [ + { + "countRange": { + "type": "uniform", + "max": 4, + "min": 2 + }, + "item": "biomancy:organic_matter" + } + ] +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_half_seeded_peeled_melon.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_half_seeded_peeled_melon.json new file mode 100644 index 000000000..ab85f5d36 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_half_seeded_peeled_melon.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:half_seeded_peeled_melon" + }, + "nutrientsCost": 3, + "processingTime": 693, + "result": { + "count": 12, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_apple_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_apple_block.json new file mode 100644 index 000000000..ca75a554d --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_apple_block.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_apple_block" + }, + "nutrientsCost": 3, + "processingTime": 931, + "result": { + "count": 40, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_baked_potato_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_baked_potato_block.json new file mode 100644 index 000000000..d17e34a3b --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_baked_potato_block.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_baked_potato_block" + }, + "nutrientsCost": 3, + "processingTime": 974, + "result": { + "count": 50, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_beetroot_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_beetroot_block.json new file mode 100644 index 000000000..c12dc8653 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_beetroot_block.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_beetroot_block" + }, + "nutrientsCost": 3, + "processingTime": 668, + "result": { + "count": 10, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_cabbage_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_cabbage_block.json new file mode 100644 index 000000000..ec0bef5e6 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_cabbage_block.json @@ -0,0 +1,22 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "farmersdelight" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_cabbage_block" + }, + "nutrientsCost": 3, + "processingTime": 800, + "result": { + "count": 20, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_carrot_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_carrot_block.json new file mode 100644 index 000000000..e361782a4 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_carrot_block.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_carrot_block" + }, + "nutrientsCost": 3, + "processingTime": 877, + "result": { + "count": 30, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_cocoa_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_cocoa_block.json new file mode 100644 index 000000000..7b1dc34a9 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_cocoa_block.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_cocoa_block" + }, + "nutrientsCost": 3, + "processingTime": 961, + "result": { + "count": 40, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_ginger_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_ginger_block.json new file mode 100644 index 000000000..51217c6bb --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_ginger_block.json @@ -0,0 +1,22 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "snowyspirit" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_ginger_block" + }, + "nutrientsCost": 3, + "processingTime": 668, + "result": { + "count": 10, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_golden_apple_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_golden_apple_block.json new file mode 100644 index 000000000..4038364c3 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_golden_apple_block.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_golden_apple_block" + }, + "nutrientsCost": 3, + "processingTime": 961, + "result": { + "count": 40, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_kiwi_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_kiwi_block.json new file mode 100644 index 000000000..9fe773616 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_kiwi_block.json @@ -0,0 +1,22 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "hedgehog" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_kiwi_block" + }, + "nutrientsCost": 3, + "processingTime": 668, + "result": { + "count": 10, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_nether_wart_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_nether_wart_block.json new file mode 100644 index 000000000..f1fb0ecb4 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_nether_wart_block.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_nether_wart_block" + }, + "nutrientsCost": 18, + "processingTime": 800, + "result": { + "count": 20, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_onion_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_onion_block.json new file mode 100644 index 000000000..e60538389 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_onion_block.json @@ -0,0 +1,22 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "farmersdelight" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_onion_block" + }, + "nutrientsCost": 3, + "processingTime": 800, + "result": { + "count": 20, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_poisonous_potato_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_poisonous_potato_block.json new file mode 100644 index 000000000..f792ff587 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_poisonous_potato_block.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_poisonous_potato_block" + }, + "nutrientsCost": 3, + "processingTime": 800, + "result": { + "count": 20, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_potato_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_potato_block.json new file mode 100644 index 000000000..7c2e45f85 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_overweight_potato_block.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:overweight_potato_block" + }, + "nutrientsCost": 3, + "processingTime": 668, + "result": { + "count": 10, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_cocoa_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_cocoa_block.json new file mode 100644 index 000000000..616523466 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_cocoa_block.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:peeled_overweight_cocoa_block" + }, + "nutrientsCost": 3, + "processingTime": 942, + "result": { + "count": 39, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_ginger_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_ginger_block.json new file mode 100644 index 000000000..6c4270d27 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_ginger_block.json @@ -0,0 +1,22 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "snowyspirit" + } + ], + "ingredient": { + "item": "overweight_farming:peeled_overweight_ginger_block" + }, + "nutrientsCost": 3, + "processingTime": 643, + "result": { + "count": 9, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_kiwi_block.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_kiwi_block.json new file mode 100644 index 000000000..a5b5b2b32 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_peeled_overweight_kiwi_block.json @@ -0,0 +1,22 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + }, + { + "type": "forge:mod_loaded", + "modid": "hedgehog" + } + ], + "ingredient": { + "item": "overweight_farming:peeled_overweight_kiwi_block" + }, + "nutrientsCost": 3, + "processingTime": 638, + "result": { + "count": 9, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_seeded_peeled_melon.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_seeded_peeled_melon.json new file mode 100644 index 000000000..b099d3d6c --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_seeded_peeled_melon.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:seeded_peeled_melon" + }, + "nutrientsCost": 3, + "processingTime": 713, + "result": { + "count": 13, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_seedless_peeled_melon.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_seedless_peeled_melon.json new file mode 100644 index 000000000..540cecb4e --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_seedless_peeled_melon.json @@ -0,0 +1,18 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:seedless_peeled_melon" + }, + "nutrientsCost": 3, + "processingTime": 671, + "result": { + "count": 11, + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_vegetable_peels.json b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_vegetable_peels.json new file mode 100644 index 000000000..f27e2e6d0 --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/digesting/nutrient_paste_from_vegetable_peels.json @@ -0,0 +1,17 @@ +{ + "type": "biomancy:digesting", + "conditions": [ + { + "type": "forge:mod_loaded", + "modid": "overweight_farming" + } + ], + "ingredient": { + "item": "overweight_farming:vegetable_peels" + }, + "nutrientsCost": 2, + "processingTime": 200, + "result": { + "item": "biomancy:nutrient_paste" + } +} \ No newline at end of file diff --git a/src/main/java/com/github/elenterius/biomancy/integration/ModsCompatHandler.java b/src/main/java/com/github/elenterius/biomancy/integration/ModsCompatHandler.java index ea99f1a06..0e4c5d535 100644 --- a/src/main/java/com/github/elenterius/biomancy/integration/ModsCompatHandler.java +++ b/src/main/java/com/github/elenterius/biomancy/integration/ModsCompatHandler.java @@ -6,6 +6,8 @@ import com.github.elenterius.biomancy.integration.iceandfire.IceAndFireCompat; import com.github.elenterius.biomancy.integration.modonomicon.ModonomiconHelper; import com.github.elenterius.biomancy.integration.modonomicon.ModonomiconIntegration; +import com.github.elenterius.biomancy.integration.overweightfarming.OverweightFarmingHelper; +import com.github.elenterius.biomancy.integration.overweightfarming.OverweightFarmingIntegration; import com.github.elenterius.biomancy.integration.pehkui.PehkuiHelper; import com.github.elenterius.biomancy.integration.pehkui.PehkuiIntegration; import com.github.elenterius.biomancy.integration.tetra.TetraCompat; @@ -23,57 +25,59 @@ public final class ModsCompatHandler { static PehkuiHelper PEHKUI_HELPER = PehkuiHelper.EMPTY; static ModonomiconHelper MODONOMICON_HELPER = ModonomiconHelper.EMPTY; static TetraHelper TETRA_HELPER = TetraHelper.EMPTY; + static OverweightFarmingHelper OVERWEIGHT_FARMING_HELPER = OverweightFarmingHelper.createEmpty(); private ModsCompatHandler() {} public static void onBiomancyInit(final IEventBus eventBus) { if (ModList.get().isLoaded("pehkui")) { - BiomancyMod.LOGGER.info(LOG_MARKER, "Initialize Pehkui compat..."); + BiomancyMod.LOGGER.info(LOG_MARKER, "Initializing Pehkui Integration..."); PehkuiIntegration.init(helper -> PEHKUI_HELPER = helper); } if (ModList.get().isLoaded("modonomicon")) { - BiomancyMod.LOGGER.info(LOG_MARKER, "Initialize Modonomicon integration..."); + BiomancyMod.LOGGER.info(LOG_MARKER, "Initializing Modonomicon integration..."); ModonomiconIntegration.init(helper -> MODONOMICON_HELPER = helper); } if (ModList.get().isLoaded("tetra")) { - BiomancyMod.LOGGER.info(LOG_MARKER, "Initialize Modonomicon integration..."); + BiomancyMod.LOGGER.info(LOG_MARKER, "Initializing Modonomicon integration..."); TetraCompat.init(helper -> TETRA_HELPER = helper); } + + if (ModList.get().isLoaded("overweight_farming")) { + BiomancyMod.LOGGER.info(LOG_MARKER, "Initializing Overweight Farming integration..."); + OverweightFarmingIntegration.init(helper -> OVERWEIGHT_FARMING_HELPER = helper); + } } public static void onBiomancyCommonSetup(final FMLCommonSetupEvent event) { event.enqueueWork(() -> { if (ModList.get().isLoaded("tetra")) { - BiomancyMod.LOGGER.info(LOG_MARKER, "Setup Tetra compat..."); + BiomancyMod.LOGGER.info(LOG_MARKER, "Setting up Tetra compat..."); TetraCompat.onPostSetup(); } if (ModList.get().isLoaded("farmersdelight")) { - BiomancyMod.LOGGER.info(LOG_MARKER, "Setup Farmer's Delight compat..."); + BiomancyMod.LOGGER.info(LOG_MARKER, "Setting up Farmer's Delight compat..."); FarmersDelightCompat.onPostSetup(); } if (ModList.get().isLoaded("alexscaves")) { - BiomancyMod.LOGGER.info(LOG_MARKER, "Setup Alex's Caves compat..."); + BiomancyMod.LOGGER.info(LOG_MARKER, "Setting up Alex's Caves compat..."); AlexsCavesCompat.onPostSetup(); } if (ModList.get().isLoaded("iceandfire")) { - BiomancyMod.LOGGER.info(LOG_MARKER, "Setup Ice And Fire compat..."); + BiomancyMod.LOGGER.info(LOG_MARKER, "Setting up Ice And Fire compat..."); IceAndFireCompat.onPostSetup(); } - }); - } - private static int parseVersionNumber(String s) { - try { - return Integer.parseInt(s); - } - catch (NumberFormatException e) { - return -1; - } + if (ModList.get().isLoaded("overweight_farming")) { + BiomancyMod.LOGGER.info(LOG_MARKER, "Setting up Overweight Farming compat..."); + OverweightFarmingIntegration.onPostSetup(); + } + }); } public static void onBiomancyClientSetup(final FMLClientSetupEvent event) { @@ -97,4 +101,8 @@ public static TetraHelper getTetraHelper() { return TETRA_HELPER; } + public static OverweightFarmingHelper getOverweightFarmingHelper() { + return OVERWEIGHT_FARMING_HELPER; + } + } diff --git a/src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/OverweightFarmingHelper.java b/src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/OverweightFarmingHelper.java new file mode 100644 index 000000000..42d064b84 --- /dev/null +++ b/src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/OverweightFarmingHelper.java @@ -0,0 +1,27 @@ +package com.github.elenterius.biomancy.integration.overweightfarming; + +import net.minecraft.core.BlockPos; +import net.minecraft.server.level.ServerLevel; +import net.minecraft.util.RandomSource; +import net.minecraft.world.level.Level; +import net.minecraft.world.level.block.state.BlockState; + +public interface OverweightFarmingHelper { + + boolean canGrowOverweight(Level level, BlockPos pos, BlockState state); + + void growOverweight(ServerLevel level, BlockPos pos, BlockState state, RandomSource random); + + static OverweightFarmingHelper createEmpty() { + return new OverweightFarmingHelper() { + @Override + public boolean canGrowOverweight(Level level, BlockPos pos, BlockState state) { + return false; + } + + @Override + public void growOverweight(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) {} + }; + } + +} diff --git a/src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/OverweightFarmingIntegration.java b/src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/OverweightFarmingIntegration.java new file mode 100644 index 000000000..0bec70b04 --- /dev/null +++ b/src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/OverweightFarmingIntegration.java @@ -0,0 +1,75 @@ +package com.github.elenterius.biomancy.integration.overweightfarming; + +import com.github.elenterius.biomancy.api.tribute.SimpleTribute; +import com.github.elenterius.biomancy.api.tribute.Tribute; +import com.github.elenterius.biomancy.api.tribute.Tributes; +import net.minecraft.core.BlockPos; +import net.minecraft.resources.ResourceLocation; +import net.minecraft.server.level.ServerLevel; +import net.minecraft.util.RandomSource; +import net.minecraft.world.item.Item; +import net.minecraft.world.item.Items; +import net.minecraft.world.level.Level; +import net.minecraft.world.level.block.Block; +import net.minecraft.world.level.block.state.BlockState; +import net.minecraft.world.level.levelgen.feature.DripstoneUtils; +import net.minecraftforge.registries.ForgeRegistries; +import net.orcinus.overweightfarming.init.OFBlocks; +import net.orcinus.overweightfarming.util.OverweightGrowthManager; + +import java.util.Objects; +import java.util.Set; +import java.util.function.Consumer; + +public final class OverweightFarmingIntegration { + + private OverweightFarmingIntegration() {} + + public static void init(Consumer helperSetter) { + helperSetter.accept(new OverweightFarmingHelperImpl()); + } + + public static void onPostSetup() { + Tribute goldenApple = Tributes.getTribute(Items.GOLDEN_APPLE.getDefaultInstance()); + int multiplier = 10; + Tributes.register(OFBlocks.OVERWEIGHT_GOLDEN_APPLE.get().asItem(), new SimpleTribute( + goldenApple.biomass() * multiplier, + goldenApple.lifeEnergy() * multiplier, + goldenApple.successModifier() * multiplier, + goldenApple.diseaseModifier() * multiplier, + goldenApple.hostileModifier() * multiplier, + goldenApple.anomalyModifier() * multiplier + )); + } + + private static Block getBlock(String name) { + ResourceLocation id = new ResourceLocation("overweight_farming", name); + return Objects.requireNonNull(ForgeRegistries.BLOCKS.getValue(id)); + } + + private static Item getItem(String name) { + ResourceLocation id = new ResourceLocation("overweight_farming", name); + return Objects.requireNonNull(ForgeRegistries.ITEMS.getValue(id)); + } + + static final class OverweightFarmingHelperImpl implements OverweightFarmingHelper { + + private final OverweightGrowthManager growthManager = new OverweightGrowthManager(RandomSource.create()); + private Set validCrops; + + @Override + public boolean canGrowOverweight(Level level, BlockPos pos, BlockState state) { + if (validCrops == null) { + validCrops = growthManager.getOverweightMap().keySet(); + } + return validCrops.contains(state.getBlock()) && level.isStateAtPosition(pos.above(), DripstoneUtils::isEmptyOrWater); + } + + @Override + public void growOverweight(ServerLevel level, BlockPos pos, BlockState state, RandomSource random) { + growthManager.growOverweightCrops(level, pos, state, random); + } + + } + +} diff --git a/src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/package-info.java b/src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/package-info.java new file mode 100644 index 000000000..5c7b876fe --- /dev/null +++ b/src/main/java/com/github/elenterius/biomancy/integration/overweightfarming/package-info.java @@ -0,0 +1,7 @@ +@ParametersAreNonnullByDefault +@MethodsReturnNonnullByDefault +package com.github.elenterius.biomancy.integration.overweightfarming; + +import net.minecraft.MethodsReturnNonnullByDefault; + +import javax.annotation.ParametersAreNonnullByDefault; \ No newline at end of file diff --git a/src/main/java/com/github/elenterius/biomancy/integration/tetra/TetraCompat.java b/src/main/java/com/github/elenterius/biomancy/integration/tetra/TetraCompat.java index aa5fc78ba..a0d89c1b0 100644 --- a/src/main/java/com/github/elenterius/biomancy/integration/tetra/TetraCompat.java +++ b/src/main/java/com/github/elenterius/biomancy/integration/tetra/TetraCompat.java @@ -16,7 +16,7 @@ public final class TetraCompat { private TetraCompat() {} public static void init(Consumer helperSetter) { - helperSetter.accept(new TetraCompat.TetraHelperImpl()); + helperSetter.accept(new TetraHelperImpl()); } public static void onPostSetup() { diff --git a/src/main/java/com/github/elenterius/biomancy/item/FertilizerItem.java b/src/main/java/com/github/elenterius/biomancy/item/FertilizerItem.java index f4a09cd2b..6388a4564 100644 --- a/src/main/java/com/github/elenterius/biomancy/item/FertilizerItem.java +++ b/src/main/java/com/github/elenterius/biomancy/item/FertilizerItem.java @@ -1,6 +1,7 @@ package com.github.elenterius.biomancy.item; import com.github.elenterius.biomancy.block.property.BlockPropertyUtil; +import com.github.elenterius.biomancy.integration.ModsCompatHandler; import com.github.elenterius.biomancy.util.PillarPlantUtil; import net.minecraft.core.BlockPos; import net.minecraft.core.Direction; @@ -32,6 +33,9 @@ public static boolean applyFertilizer(ItemStack stack, Level level, BlockPos pos BlockState state = level.getBlockState(pos); Block block = state.getBlock(); + if (ModsCompatHandler.getOverweightFarmingHelper().canGrowOverweight(level, pos, state)) { + return growOverweightCrop(level, pos, state); + } if (block instanceof BonemealableBlock bonemealableBlock) { return growBonmealableBlock(level, pos, state, bonemealableBlock); } @@ -194,7 +198,7 @@ else if (block.isRandomlyTicking(state)) { private static boolean growBonmealableBlock(Level level, BlockPos pos, BlockState state, BonemealableBlock block) { if (!block.isValidBonemealTarget(level, pos, state, level.isClientSide)) return false; - if (!(level instanceof ServerLevel serverLevel)) return false; + if (!(level instanceof ServerLevel serverLevel)) return true; final BlockState prevState = state; @@ -223,6 +227,15 @@ private static boolean growBonmealableBlock(Level level, BlockPos pos, BlockStat return true; } + private static boolean growOverweightCrop(Level level, BlockPos pos, BlockState state) { + if (level instanceof ServerLevel serverLevel) { + ModsCompatHandler.getOverweightFarmingHelper().growOverweight(serverLevel, pos, state, serverLevel.random); + serverLevel.levelEvent(LevelEvent.PARTICLES_PLANT_GROWTH, pos, 5); + } + + return true; + } + @Override public boolean isFoil(ItemStack stack) { return true; @@ -236,7 +249,7 @@ public InteractionResult useOn(UseOnContext context) { if (applyFertilizer(stack, level, clickedPos, context.getClickedFace())) { if (!level.isClientSide) { stack.shrink(1); - level.playSound(null, clickedPos, SoundEvents.BONE_MEAL_USE, SoundSource.BLOCKS, 1f, 1f); + level.playSound(null, clickedPos, SoundEvents.BONE_MEAL_USE, SoundSource.BLOCKS, 1.2f, 1f); } return InteractionResult.sidedSuccess(level.isClientSide); }