Blast furnace recipes moved to 1.14

This commit is contained in:
drcrazy 2019-07-29 21:24:47 +03:00
parent aafc42784a
commit 878734e4ad
18 changed files with 329 additions and 137 deletions

View file

@ -82,7 +82,6 @@ public class ModRecipes {
FluidReplicatorRecipes.init(); FluidReplicatorRecipes.init();
addBlastFurnaceRecipes();
addVacuumFreezerRecipes(); addVacuumFreezerRecipes();
addGrinderRecipes(); addGrinderRecipes();
addCompressorRecipes(); addCompressorRecipes();
@ -318,53 +317,6 @@ public class ModRecipes {
} }
static void addBlastFurnaceRecipes() {
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(ItemDustsSmall.getSmallDustByName("titanium", 4), null,
// ItemIngots.getIngotByName("titanium"), null, 3600, 120, 1500));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(ItemDusts.getDustByName("aluminum"), null, ItemIngots.getIngotByName("aluminum"),
// null, 2200, 120, 1700));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(ItemDustsSmall.getSmallDustByName("aluminum", 4), null,
// ItemIngots.getIngotByName("aluminum"), null, 2200, 120, 1700));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(ItemDusts.getDustByName("tungsten"), null, ItemIngots.getIngotByName("tungsten"),
// null, 1800, 120, 2500));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(ItemDustsSmall.getSmallDustByName("tungsten", 4), null,
// ItemIngots.getIngotByName("tungsten"), null, 1800, 120, 2500));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE, new BlastFurnaceRecipe(
// ItemDusts.getDustByName("chrome"), null, ItemIngots.getIngotByName("chrome"), null, 4420, 120, 1700));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(ItemDustsSmall.getSmallDustByName("chrome", 4), null,
// ItemIngots.getIngotByName("chrome"), null, 4420, 120, 1700));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE, new BlastFurnaceRecipe(ItemDusts.getDustByName("steel"),
// null, ItemIngots.getIngotByName("steel"), null, 2800, 120, 1000));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(ItemDustsSmall.getSmallDustByName("steel", 4), null,
// ItemIngots.getIngotByName("steel"), null, 2800, 120, 1000));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(ItemDusts.getDustByName("galena", 2), null, ItemIngots.getIngotByName("silver"),
// ItemIngots.getIngotByName("lead"), 80, 120, 1500));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(new ItemStack(Items.IRON_INGOT), ItemDusts.getDustByName("coal", 2),
// ItemIngots.getIngotByName("steel"), ItemDusts.getDustByName("dark_ashes", 2), 500, 120, 1000));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(ItemIngots.getIngotByName("tungsten"), ItemIngots.getIngotByName("steel"),
// ItemIngots.getIngotByName("hot_tungstensteel"), ItemDusts.getDustByName("dark_ashes", 4), 500,
// 128, 3000));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(new ItemStack(Blocks.IRON_ORE), ItemDusts.getDustByName("calcite"),
// new ItemStack(Items.IRON_INGOT, 3), ItemDusts.getDustByName("dark_ashes"), 140, 120, 1000));
// RecipeHandler.addRecipe(Reference.BLAST_FURNACE_RECIPE,
// new BlastFurnaceRecipe(BlockOre.getOreByName("Pyrite"), ItemDusts.getDustByName("calcite"),
// new ItemStack(Items.IRON_INGOT, 2), ItemDusts.getDustByName("dark_ashes"), 140, 120, 1000));
}
public static ItemStack getBucketWithFluid(Fluid fluid) { public static ItemStack getBucketWithFluid(Fluid fluid) {
return FluidUtil.getFilledBucket(new FluidInstance(fluid, 1000)); return FluidUtil.getFilledBucket(new FluidInstance(fluid, 1000));
} }

View file

@ -1,86 +0,0 @@
/*
* This file is part of TechReborn, licensed under the MIT License (MIT).
*
* Copyright (c) 2018 TechReborn
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*/
package techreborn.init.recipes;
import net.minecraft.item.ItemStack;
/**
* @author drcrazy
*
*/
public class BlastFurnaceRecipes extends RecipeMethods {
public static void init() {
// register(new ItemStack(Blocks.IRON_ORE), ItemDusts.getDustByName("calcite"), new ItemStack(Items.IRON_INGOT, 3),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(BlockOre.getOreByName("Pyrite"), ItemDusts.getDustByName("calcite"),
// new ItemStack(Items.IRON_INGOT, 2), ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.DIAMOND_HELMET), new ItemStack(Blocks.SAND), new ItemStack(Items.DIAMOND, 5),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.DIAMOND_CHESTPLATE), new ItemStack(Blocks.SAND), new ItemStack(Items.DIAMOND, 8),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.DIAMOND_LEGGINGS), new ItemStack(Blocks.SAND), new ItemStack(Items.DIAMOND, 7),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.DIAMOND_BOOTS), new ItemStack(Blocks.SAND), new ItemStack(Items.DIAMOND, 4),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.GOLDEN_HELMET), new ItemStack(Blocks.SAND), new ItemStack(Items.GOLD_INGOT, 5),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.GOLDEN_CHESTPLATE), new ItemStack(Blocks.SAND), new ItemStack(Items.GOLD_INGOT, 8),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.GOLDEN_LEGGINGS), new ItemStack(Blocks.SAND), new ItemStack(Items.GOLD_INGOT, 7),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.GOLDEN_BOOTS), new ItemStack(Blocks.SAND), new ItemStack(Items.GOLD_INGOT, 4),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.IRON_HELMET), new ItemStack(Blocks.SAND), new ItemStack(Items.IRON_INGOT, 5),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.IRON_CHESTPLATE), new ItemStack(Blocks.SAND), new ItemStack(Items.IRON_INGOT, 8),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.IRON_LEGGINGS), new ItemStack(Blocks.SAND), new ItemStack(Items.IRON_INGOT, 7),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
// register(new ItemStack(Items.IRON_BOOTS), new ItemStack(Blocks.SAND), new ItemStack(Items.IRON_INGOT, 4),
// ItemDusts.getDustByName("dark_ashes"), 140, 1000);
}
private static void register(ItemStack in1, ItemStack in2, ItemStack out1, ItemStack out2, int tickTime,
int euPerTick, int neededHeat) {
// RecipeHandler.addRecipe(new BlastFurnaceRecipe(in1, in2, out1, out2, tickTime, euPerTick, neededHeat));
}
private static void register(ItemStack in1, ItemStack in2, ItemStack out1, ItemStack out2, int tickTime,
int neededHeat) {
register(in1, in2, out1, out2, tickTime, 120, neededHeat);
}
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:diamond_boots"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:diamond",
"count": 4
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:diamond_chestplate"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:diamond",
"count": 8
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:diamond_helmet"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:diamond",
"count": 5
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:diamond_leggings"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:diamond",
"count": 7
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:golden_boots"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:gold_ingot",
"count": 4
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:golden_chestplate"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:gold_ingot",
"count": 8
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:golden_helmet"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:gold_ingot",
"count": 5
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:golden_leggings"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:gold_ingot",
"count": 7
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:iron_boots"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:iron_ingot",
"count": 4
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:iron_chestplate"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:iron_ingot",
"count": 8
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:iron_helmet"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:iron_ingot",
"count": 5
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 140,
"heat": 1000,
"ingredients" : [
{
"item": "minecraft:iron_leggings"
},
{
"item": "minecraft:sand"
}
],
"results" : [
{
"item": "minecraft:iron_ingot",
"count": 7
},
{
"item": "techreborn:dark_ashes_dust"
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 100,
"heat": 1000,
"ingredients": [
{
"item": "minecraft:iron_ore"
},
{
"fluid": "techreborn:calciumcarbonate",
"holder": "techreborn:cell"
}
],
"results": [
{
"item": "techreborn:refined_iron_ingot",
"count": 3
},
{
"item": "techreborn:cell"
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:blast_furnace",
"power": 128,
"time": 100,
"heat": 1500,
"ingredients": [
{
"item": "techreborn:pyrite_ore"
},
{
"fluid": "techreborn:calciumcarbonate",
"holder": "techreborn:cell"
}
],
"results": [
{
"item": "techreborn:refined_iron_ingot",
"count": 2
},
{
"item": "techreborn:cell"
}
]
}

View file

@ -4,10 +4,12 @@
"time": 800, "time": 800,
"ingredients": [ "ingredients": [
{ {
"fluid": "techreborn:carbon" "fluid": "techreborn:carbon",
"holder": "techreborn:cell"
}, },
{ {
"fluid": "techreborn:calcium" "fluid": "techreborn:calcium",
"holder": "techreborn:cell"
} }
], ],
"results": [ "results": [

View file

@ -5,7 +5,7 @@
"ingredients" : [ "ingredients" : [
{ {
"item": "minecraft:dirt", "item": "minecraft:dirt",
"size": 2 "count": 2
} }
], ],
"results" : [ "results" : [