From b69847d1593733c32be8d7327dfd345967701be8 Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Mon, 11 Mar 2024 02:13:58 +0100 Subject: [PATCH] Add back recipe for Energizer and Enervator --- .../9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e | 4 +++- .../actuallyadditions/recipes/energizer.json | 23 +++++++++++++++++++ .../actuallyadditions/recipes/enervator.json | 23 +++++++++++++++++++ .../data/BlockRecipeGenerator.java | 16 +++++++++++++ 4 files changed, 65 insertions(+), 1 deletion(-) create mode 100644 src/generated/resources/data/actuallyadditions/recipes/energizer.json create mode 100644 src/generated/resources/data/actuallyadditions/recipes/enervator.json diff --git a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e index 6a757e0c7..673b06212 100644 --- a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e +++ b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e @@ -1,4 +1,4 @@ -// 1.20.4 2024-03-11T01:01:47.8093462 Recipes +// 1.20.4 2024-03-11T02:13:51.6169998 Recipes 4d3128b37a7153882a9324cda49b5069207561c5 data/actuallyadditions/recipes/atomic_reconstructor.json b0367f5012651764931e8b8fd0c5bcca4e8614c0 data/actuallyadditions/recipes/battery_box.json 7e05cd54092b998dfdbd2221235dd52576ec79eb data/actuallyadditions/recipes/black_quartz_block.json @@ -26,6 +26,8 @@ e091d7dcfe6a654a122b5f072a133ec656d4b8f7 data/actuallyadditions/recipes/crusher_ f6a581219fbfde8c67edc59318f92cc719597c4f data/actuallyadditions/recipes/dropper.json 7c9a004460b6eb6c6e07cedfa086294d59e5eec5 data/actuallyadditions/recipes/empowerer.json 5801963cf623f873cdb254513c1b4b5ec319dd74 data/actuallyadditions/recipes/ender_casing.json +87c24522b48b28bcf1996e7df01313fead1c1890 data/actuallyadditions/recipes/energizer.json +f44feb3591a63e24a37bc6bc0463dcd425b29e2b data/actuallyadditions/recipes/enervator.json b2eefc77a753cbb650a879a9d30d833fc154dc58 data/actuallyadditions/recipes/ethetic_green_slab.json 1171daf9cf5402c9c47a9f2f370d5924ebddef5e data/actuallyadditions/recipes/ethetic_green_stairs.json 0e57ac576603b7c6aeef7709d2e669e3dacbe5f2 data/actuallyadditions/recipes/ethetic_green_wall.json diff --git a/src/generated/resources/data/actuallyadditions/recipes/energizer.json b/src/generated/resources/data/actuallyadditions/recipes/energizer.json new file mode 100644 index 000000000..2146b71fd --- /dev/null +++ b/src/generated/resources/data/actuallyadditions/recipes/energizer.json @@ -0,0 +1,23 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "A": { + "item": "actuallyadditions:advanced_coil" + }, + "I": { + "item": "actuallyadditions:iron_casing" + }, + "R": { + "item": "actuallyadditions:restonia_crystal" + } + }, + "pattern": [ + "R R", + "AIA", + "R R" + ], + "result": { + "item": "actuallyadditions:energizer" + } +} \ No newline at end of file diff --git a/src/generated/resources/data/actuallyadditions/recipes/enervator.json b/src/generated/resources/data/actuallyadditions/recipes/enervator.json new file mode 100644 index 000000000..e8e2f43ae --- /dev/null +++ b/src/generated/resources/data/actuallyadditions/recipes/enervator.json @@ -0,0 +1,23 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "A": { + "item": "actuallyadditions:advanced_coil" + }, + "I": { + "item": "actuallyadditions:iron_casing" + }, + "R": { + "item": "actuallyadditions:restonia_crystal" + } + }, + "pattern": [ + " R ", + "AIA", + " R " + ], + "result": { + "item": "actuallyadditions:enervator" + } +} \ 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 da1c2d35e..faa19501e 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/data/BlockRecipeGenerator.java +++ b/src/main/java/de/ellpeck/actuallyadditions/data/BlockRecipeGenerator.java @@ -383,6 +383,22 @@ public class BlockRecipeGenerator extends RecipeProvider { .define('C', ActuallyBlocks.CRUSHER.get()) .define('I', ActuallyBlocks.IRON_CASING.get()) .save(recipeOutput); + + // Energizer + Recipe.shaped(ActuallyBlocks.ENERGIZER.getItem()) + .pattern("R R", "AIA", "R R") + .define('R', ActuallyItems.RESTONIA_CRYSTAL.get()) + .define('A', ActuallyItems.ADVANCED_COIL.get()) + .define('I', ActuallyBlocks.IRON_CASING.get()) + .save(recipeOutput); + + // Enervator + Recipe.shaped(ActuallyBlocks.ENERVATOR.getItem()) + .pattern(" R ", "AIA", " R ") + .define('R', ActuallyItems.RESTONIA_CRYSTAL.get()) + .define('A', ActuallyItems.ADVANCED_COIL.get()) + .define('I', ActuallyBlocks.IRON_CASING.get()) + .save(recipeOutput); } public static class Recipe {