From cad57217d4f5135fb04371fa5500525ad663e55a Mon Sep 17 00:00:00 2001 From: Flanks255 <32142731+Flanks255@users.noreply.github.com> Date: Wed, 13 Mar 2024 18:06:38 -0500 Subject: [PATCH] Fixed recipe for player interface. --- .../9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e | 3 ++- .../recipes/player_interface.json | 26 +++++++++++++++++++ .../data/BlockRecipeGenerator.java | 9 +++++++ 3 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 src/generated/resources/data/actuallyadditions/recipes/player_interface.json diff --git a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e index 7ac628fa0..b293b213d 100644 --- a/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e +++ b/src/generated/resources/.cache/9fb1092f32d4fcbf9e061ffd718d4ec689c6c95e @@ -1,4 +1,4 @@ -// 1.20.4 2024-03-12T17:59:34.1573737 Recipes +// 1.20.4 2024-03-13T18:06:15.6143021 Recipes 4d3128b37a7153882a9324cda49b5069207561c5 data/actuallyadditions/recipes/atomic_reconstructor.json b0367f5012651764931e8b8fd0c5bcca4e8614c0 data/actuallyadditions/recipes/battery_box.json dba5d4a1a79489d5766fad32f912ab1a64618854 data/actuallyadditions/recipes/bio_reactor.json @@ -61,6 +61,7 @@ c7b65084e855bd7f083819ed9339320577510c6f data/actuallyadditions/recipes/phantom_ 6d3aa070e0fccbb126c80323423c9482259dd6de data/actuallyadditions/recipes/phantom_liquiface.json 253e31ad471e2a8e20bfbe077826a8fac35fcc84 data/actuallyadditions/recipes/phantom_redstoneface.json 8c78ebb9351b98ffe368391a391b90385c0b8b7f data/actuallyadditions/recipes/placer.json +981e7e91216504b421d069f72920499df052e64f data/actuallyadditions/recipes/player_interface.json 184acfb5fd3799b3fbe35150c67b6530581f8bf1 data/actuallyadditions/recipes/powered_furnace.json b81a706a5f635d8a63ffd3034c80838dc10699c9 data/actuallyadditions/recipes/ranged_collector.json 532a454741e8068941f1f3c44f3be257530db8c3 data/actuallyadditions/recipes/shock_suppressor.json diff --git a/src/generated/resources/data/actuallyadditions/recipes/player_interface.json b/src/generated/resources/data/actuallyadditions/recipes/player_interface.json new file mode 100644 index 000000000..f6c4dc106 --- /dev/null +++ b/src/generated/resources/data/actuallyadditions/recipes/player_interface.json @@ -0,0 +1,26 @@ +{ + "type": "minecraft:crafting_shaped", + "category": "misc", + "key": { + "A": { + "item": "actuallyadditions:advanced_coil" + }, + "C": { + "item": "actuallyadditions:ender_casing" + }, + "E": { + "item": "actuallyadditions:empowered_diamatine_crystal" + }, + "W": { + "item": "minecraft:wither_skeleton_skull" + } + }, + "pattern": [ + "CWC", + "ECE", + "CAC" + ], + "result": { + "item": "actuallyadditions:player_interface" + } +} \ 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 f30c6bbc2..6713c8c0c 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/data/BlockRecipeGenerator.java +++ b/src/main/java/de/ellpeck/actuallyadditions/data/BlockRecipeGenerator.java @@ -89,6 +89,15 @@ public class BlockRecipeGenerator extends RecipeProvider { .define('D', ActuallyTags.Items.DRILLS) .save(recipeOutput); + // Player Interface + Recipe.shaped(ActuallyBlocks.PLAYER_INTERFACE.getItem()) + .pattern("CWC", "ECE", "CAC") + .define('C', ActuallyBlocks.ENDER_CASING.getItem()) + .define('W', Items.WITHER_SKELETON_SKULL) + .define('E', ActuallyItems.EMPOWERED_DIAMATINE_CRYSTAL) + .define('A', ActuallyItems.ADVANCED_COIL) + .save(recipeOutput); + //Black Quartz Wall Recipe.wall(ActuallyBlocks.BLACK_QUARTZ_WALL.getItem(), ActuallyBlocks.BLACK_QUARTZ_PILLAR.get(), recipeOutput);