From 56503ad11778cb22174043ec778da134b6188aea Mon Sep 17 00:00:00 2001 From: drcrazy Date: Tue, 23 Jul 2019 17:21:17 +0300 Subject: [PATCH] Start of melting recipes --- .../java/techreborn/init/recipes/SmeltingRecipes.java | 3 +-- .../techreborn/recipes/smelting/refined_iron_ingot.json | 9 +++++++++ .../data/techreborn/recipes/smelting/rubber.json | 9 +++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 src/main/resources/data/techreborn/recipes/smelting/refined_iron_ingot.json create mode 100644 src/main/resources/data/techreborn/recipes/smelting/rubber.json diff --git a/src/main/java/techreborn/init/recipes/SmeltingRecipes.java b/src/main/java/techreborn/init/recipes/SmeltingRecipes.java index 3f784f864..9cfcb5642 100644 --- a/src/main/java/techreborn/init/recipes/SmeltingRecipes.java +++ b/src/main/java/techreborn/init/recipes/SmeltingRecipes.java @@ -34,8 +34,7 @@ import techreborn.init.TRContent; public class SmeltingRecipes extends RecipeMethods { public static void init() { - register(getStack(Items.IRON_INGOT), TRContent.Ingots.REFINED_IRON.getStack()); - register(TRContent.Parts.SAP.getStack(), TRContent.Parts.RUBBER.getStack()); + register(TRContent.Ingots.MIXED_METAL.getStack(), TRContent.Ingots.ADVANCED_ALLOY.getStack()); // register(BlockOre.getOreByName("silver"), TRIngredients.Ingots.SILVER.getStack()); // register(BlockOre2.getOreByName("tin"), TRIngredients.Ingots.TIN.getStack()); diff --git a/src/main/resources/data/techreborn/recipes/smelting/refined_iron_ingot.json b/src/main/resources/data/techreborn/recipes/smelting/refined_iron_ingot.json new file mode 100644 index 000000000..240e78290 --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/smelting/refined_iron_ingot.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:smelting", + "ingredient": { + "item": "minecraft:iron_ingot" + }, + "result": "techreborn:refined_iron_ingot", + "experience": 0.5, + "cookingtime": 200 +} \ No newline at end of file diff --git a/src/main/resources/data/techreborn/recipes/smelting/rubber.json b/src/main/resources/data/techreborn/recipes/smelting/rubber.json new file mode 100644 index 000000000..7a96d3e0c --- /dev/null +++ b/src/main/resources/data/techreborn/recipes/smelting/rubber.json @@ -0,0 +1,9 @@ +{ + "type": "minecraft:smelting", + "ingredient": { + "item": "techreborn:sap" + }, + "result": "techreborn:rubber", + "experience": 0.5, + "cookingtime": 200 +} \ No newline at end of file