diff --git a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioForgeRecipeProvider.java b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioForgeRecipeProvider.java index 8239f1b37..9bf7b4a65 100644 --- a/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioForgeRecipeProvider.java +++ b/src/datagen/java/com/github/elenterius/biomancy/datagen/recipes/BioForgeRecipeProvider.java @@ -245,6 +245,16 @@ private void buildToolRecipes(Consumer consumer) { .addIngredient(ModItems.ELASTIC_FIBERS.get(), 1) .setCategory(ModBioForgeTabs.TOOLS) .unlockedBy(ModItems.ELASTIC_FIBERS.get()).save(consumer); + + BioForgeRecipeBuilder.create(ModItems.ESSENCE_EXTRACTOR.get()) + .addIngredient(ModItems.FLESH_BITS.get(), 20) + .addIngredient(ModItems.MINERAL_FRAGMENT.get(), 10) + .addIngredient(ModItems.ELASTIC_FIBERS.get(), 25) + .addIngredient(ModItems.EXOTIC_DUST.get(), 4) + .addIngredient(ModItems.BONE_FRAGMENTS.get(), 6) + .setCraftingCost(20) + .setCategory(ModBioForgeTabs.TOOLS) + .unlockedBy(ModItems.EXOTIC_DUST.get()).save(consumer); } private void buildComponentRecipes(Consumer consumer) { @@ -312,7 +322,7 @@ private void buildComponentRecipes(Consumer consumer) { } private void buildMiscRecipes(Consumer consumer) { - BioForgeRecipeBuilder.create(new ItemData(ModItems.FLESHKIN_PRESSURE_PLATE.get())) + BioForgeRecipeBuilder.create(ModItems.FLESHKIN_PRESSURE_PLATE.get()) .addIngredient(ModItems.LIVING_FLESH.get()) .addIngredient(ModItems.BONE_FRAGMENTS.get(), 3) .addIngredient(ModItems.FLESH_BITS.get(), 5) @@ -321,15 +331,15 @@ private void buildMiscRecipes(Consumer consumer) { .setCategory(ModBioForgeTabs.MISC) .unlockedBy(ModItems.LIVING_FLESH.get()).save(consumer); - //BioForgeRecipeBuilder.create(new ItemData(ModItems.VOICE_BOX.get())) - // .addIngredient(Items.NOTE_BLOCK) - // .addIngredient(ModItems.FLESH_BITS.get(), 6) - // .addIngredient(ModItems.BONE_FRAGMENTS.get(), 4) - // .addIngredient(ModItems.ELASTIC_FIBERS.get(), 8) - // .setCategory(ModRecipeBooks.BioForgeCategory.MISC) - // .unlockedBy(ModItems.ELASTIC_FIBERS.get()).save(consumer); + BioForgeRecipeBuilder.create(ModItems.MODULAR_LARYNX.get()) + .addIngredient(ModItems.LIVING_FLESH.get()) + .addIngredient(ModItems.GEM_FRAGMENTS.get(), 4) + .addIngredient(ModItems.FLESH_BITS.get(), 6) + .addIngredient(ModItems.BONE_FRAGMENTS.get(), 12) + .addIngredient(ModItems.ELASTIC_FIBERS.get(), 16) + .setCategory(ModBioForgeTabs.MISC) + .unlockedBy(ModItems.LIVING_FLESH.get()).save(consumer); - //////////// STORAGE /////////////////////////////////////////////////////////////////////////////////////////////////////////////////// BioForgeRecipeBuilder.create(ModItems.STORAGE_SAC.get()) .addIngredient(ModItems.FLESH_BITS.get(), 4) .addIngredient(ModItems.TOUGH_FIBERS.get(), 6) diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/bio_forging/extractor_from_bio_forging.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/bio_forging/extractor_from_bio_forging.json new file mode 100644 index 000000000..67bbb2cd6 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/bio_forging/extractor_from_bio_forging.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_exotic_dust": { + "conditions": { + "items": [ + { + "items": [ + "biomancy:exotic_dust" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:bio_forging/extractor_from_bio_forging" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_exotic_dust", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:bio_forging/extractor_from_bio_forging" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/advancements/recipes/biomancy/bio_forging/modular_larynx_from_bio_forging.json b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/bio_forging/modular_larynx_from_bio_forging.json new file mode 100644 index 000000000..1838db428 --- /dev/null +++ b/src/generated/resources/data/biomancy/advancements/recipes/biomancy/bio_forging/modular_larynx_from_bio_forging.json @@ -0,0 +1,35 @@ +{ + "parent": "minecraft:recipes/root", + "criteria": { + "has_living_flesh": { + "conditions": { + "items": [ + { + "items": [ + "biomancy:living_flesh" + ] + } + ] + }, + "trigger": "minecraft:inventory_changed" + }, + "has_the_recipe": { + "conditions": { + "recipe": "biomancy:bio_forging/modular_larynx_from_bio_forging" + }, + "trigger": "minecraft:recipe_unlocked" + } + }, + "requirements": [ + [ + "has_living_flesh", + "has_the_recipe" + ] + ], + "rewards": { + "recipes": [ + "biomancy:bio_forging/modular_larynx_from_bio_forging" + ] + }, + "sends_telemetry_event": false +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/bio_forging/extractor_from_bio_forging.json b/src/generated/resources/data/biomancy/recipes/bio_forging/extractor_from_bio_forging.json new file mode 100644 index 000000000..a8b0b357c --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/bio_forging/extractor_from_bio_forging.json @@ -0,0 +1,30 @@ +{ + "type": "biomancy:bio_forging", + "bio_forge_tab": "biomancy:tools", + "ingredients": [ + { + "count": 20, + "item": "biomancy:flesh_bits" + }, + { + "count": 10, + "item": "biomancy:mineral_fragment" + }, + { + "count": 25, + "item": "biomancy:elastic_fibers" + }, + { + "count": 4, + "item": "biomancy:exotic_dust" + }, + { + "count": 6, + "item": "biomancy:bone_fragments" + } + ], + "nutrientsCost": 20, + "result": { + "item": "biomancy:extractor" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/biomancy/recipes/bio_forging/modular_larynx_from_bio_forging.json b/src/generated/resources/data/biomancy/recipes/bio_forging/modular_larynx_from_bio_forging.json new file mode 100644 index 000000000..d7246156d --- /dev/null +++ b/src/generated/resources/data/biomancy/recipes/bio_forging/modular_larynx_from_bio_forging.json @@ -0,0 +1,29 @@ +{ + "type": "biomancy:bio_forging", + "bio_forge_tab": "biomancy:misc", + "ingredients": [ + { + "item": "biomancy:living_flesh" + }, + { + "count": 4, + "item": "biomancy:gem_fragments" + }, + { + "count": 6, + "item": "biomancy:flesh_bits" + }, + { + "count": 12, + "item": "biomancy:bone_fragments" + }, + { + "count": 16, + "item": "biomancy:elastic_fibers" + } + ], + "nutrientsCost": 1, + "result": { + "item": "biomancy:modular_larynx" + } +} \ No newline at end of file