From bb2b074c68d289259663fdedcc6867e427f49ad4 Mon Sep 17 00:00:00 2001 From: paulevsGitch Date: Fri, 12 Feb 2021 12:32:49 +0300 Subject: [PATCH] Armor recipes --- .../java/ru/betterend/blocks/complex/MetalMaterial.java | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/main/java/ru/betterend/blocks/complex/MetalMaterial.java b/src/main/java/ru/betterend/blocks/complex/MetalMaterial.java index ff1340f7..cba55195 100644 --- a/src/main/java/ru/betterend/blocks/complex/MetalMaterial.java +++ b/src/main/java/ru/betterend/blocks/complex/MetalMaterial.java @@ -191,6 +191,12 @@ public class MetalMaterial { SmithingTableRecipe.create(name + "_sword").setResult(sword).setBase(swordBlade).setAddition(swordHandle).build(); SmithingTableRecipe.create(name + "_shovel").setResult(shovel).setBase(shovelHead).setAddition(Items.STICK).build(); + // Armor crafting + GridRecipe.make(name + "_helmet", helmet).setShape("###", "# #").addMaterial('#', ingot).setGroup("end_metal_helmets").build(); + GridRecipe.make(name + "_chestplate", chestplate).setShape("# #", "###", "###").addMaterial('#', ingot).setGroup("end_metal_chestplates").build(); + GridRecipe.make(name + "_leggings", leggings).setShape("###", "# #", "# #").addMaterial('#', ingot).setGroup("end_metal_leggings").build(); + GridRecipe.make(name + "_boots", boots).setShape("# #", "# #").addMaterial('#', ingot).setGroup("end_metal_boots").build(); + TagHelper.addTag(BlockTags.ANVIL, anvil); } } \ No newline at end of file