From 8abfa2415e231ac17a31ef3734e0702475f4b1c8 Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Tue, 12 Mar 2024 17:04:22 +0100 Subject: [PATCH] Add Bio Reactor recipe --- .../9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e | 3 ++- .../recipes/bio_reactor.json | 23 +++++++++++++++++++ .../data/BlockRecipeGenerator.java | 8 +++++++ 3 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 src/generated/resources/data/actuallyadditions/recipes/bio_reactor.json diff --git a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e index bd340ddbc..d8d4a7059 100644 --- a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e +++ b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e @@ -1,6 +1,7 @@ -// 1.20.4 2024-03-12T16:39:18.4273951 Recipes +// 1.20.4 2024-03-12T17:03:47.7860358 Recipes 4d3128b37a7153882a9324cda49b5069207561c5 data/actuallyadditions/recipes/atomic_reconstructor.json b0367f5012651764931e8b8fd0c5bcca4e8614c0 data/actuallyadditions/recipes/battery_box.json +dba5d4a1a79489d5766fad32f912ab1a64618854 data/actuallyadditions/recipes/bio_reactor.json 7e05cd54092b998dfdbd2221235dd52576ec79eb data/actuallyadditions/recipes/black_quartz_block.json fe704716268e01ca8aeeb92196d9f660b9e08640 data/actuallyadditions/recipes/black_quartz_brick_slab.json 9780dfc94589fc5c804c0df86eddbb9db3f61c08 data/actuallyadditions/recipes/black_quartz_brick_stair.json diff --git a/src/generated/resources/data/actuallyadditions/recipes/bio_reactor.json b/src/generated/resources/data/actuallyadditions/recipes/bio_reactor.json new file mode 100644 index 000000000..d3a92debe --- /dev/null +++ b/src/generated/resources/data/actuallyadditions/recipes/bio_reactor.json @@ -0,0 +1,23 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "E": { + "item": "actuallyadditions:empowered_enori_crystal" + }, + "I": { + "item": "actuallyadditions:iron_casing" + }, + "S": { + "tag": "minecraft:saplings" + } + }, + "pattern": [ + "EIE", + "ESE", + "EIE" + ], + "result": { + "item": "actuallyadditions:bio_reactor" + } +} \ No newline at end of file diff --git a/src/main/java/de/ellpeck/actuallyadditions/data/BlockRecipeGenerator.java b/src/main/java/de/ellpeck/actuallyadditions/data/BlockRecipeGenerator.java index c4b8e3b85..2ac2591ca 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/data/BlockRecipeGenerator.java +++ b/src/main/java/de/ellpeck/actuallyadditions/data/BlockRecipeGenerator.java @@ -461,6 +461,14 @@ public class BlockRecipeGenerator extends RecipeProvider { .define('B', ActuallyItems.BASIC_COIL) .define('C', ActuallyBlocks.WOOD_CASING.getItem()) .save(recipeOutput); + + // Bio Reactor + Recipe.shaped(ActuallyBlocks.BIOREACTOR.getItem()) + .pattern("EIE", "ESE", "EIE") + .define('E', ActuallyItems.EMPOWERED_ENORI_CRYSTAL) + .define('I', ActuallyBlocks.IRON_CASING.getItem()) + .define('S', ItemTags.SAPLINGS) + .save(recipeOutput); } public static class Recipe {