Industrial Grinder recipes done

This commit is contained in:
drcrazy 2019-08-05 15:03:00 +03:00
parent c29ab8ecea
commit 03bebee309
35 changed files with 782 additions and 115 deletions

View file

@ -64,7 +64,6 @@ public class ModRecipes {
RollingMachineRecipes.init(); RollingMachineRecipes.init();
FluidGeneratorRecipes.init(); FluidGeneratorRecipes.init();
IndustrialGrinderRecipes.init();
IndustrialElectrolyzerRecipes.init(); IndustrialElectrolyzerRecipes.init();
ScrapboxRecipes.init(); ScrapboxRecipes.init();

View file

@ -1,114 +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;
/**
* Created by Prospector
*/
public class IndustrialGrinderRecipes extends RecipeMethods {
// static FluidStack WATER = new FluidStack(FluidRegistry.WATER, 1000);
// static FluidStack MERCURY = new FluidStack(ModFluids.MERCURY, 1000);
// static FluidStack SODIUM_PERSULFATE = new FluidStack(ModFluids.SODIUMPERSULFATE, 1000);
//
// public static void init() {
//
// register(getOre("oreCoal"), WATER, 100, 64, getStack(Items.COAL, 3));
// register(getOre("oreCoal"), MERCURY, 100, 64, getStack(Items.COAL, 4));
//
// register(getOre("oreEmerald"), WATER, 100, 64, getStack(Items.EMERALD), getMaterial("emerald", 6, Type.SMALL_DUST));
//TR ores
// register(getOre("oreCopper"), WATER, 100, 64, getMaterial("copper", 2, Type.DUST), getMaterial("gold", Type.SMALL_DUST), getMaterial("nickel", Type.SMALL_DUST));
// register(getOre("oreCopper"), SODIUM_PERSULFATE, 100, 64, getMaterial("copper", 3, Type.DUST), getMaterial("gold", Type.SMALL_DUST), getMaterial("nickel", Type.SMALL_DUST));
// register(getOre("oreCopper"), MERCURY, 100, 64, getMaterial("copper", 3, Type.DUST), getMaterial("gold", Type.DUST));
// register(getOre("oreTin"), WATER, 100, 64, getMaterial("tin", 2, Type.DUST), getMaterial("iron", Type.SMALL_DUST), getMaterial("zinc", Type.SMALL_DUST));
// register(getOre("oreTin"), SODIUM_PERSULFATE, 100, 64, getMaterial("tin", 2, Type.DUST), getMaterial("iron", Type.SMALL_DUST), getMaterial("zinc", Type.DUST));
// register(getOre("oreLead"), WATER, 100, 64, getMaterial("lead", 2, Type.DUST), getMaterial("galena", 2, Type.SMALL_DUST));
// register(getOre("oreSilver"), WATER, 100, 64, getMaterial("silver", 2, Type.DUST), getMaterial("galena", 2, Type.SMALL_DUST));
// register(getOre("oreGalena"), WATER, 100, 64, getMaterial("galena", 2, Type.DUST), getMaterial("sulfur", Type.DUST));
// register(getOre("oreGalena"), MERCURY, 100, 64, getMaterial("galena", 2, Type.DUST), getMaterial("sulfur", Type.DUST), getMaterial("silver", Type.DUST));
// register(BlockOre.getOreByName("bauxite"), WATER, 100, 64, getMaterial("bauxite", 4, Type.DUST), getMaterial("aluminum", Type.DUST));
// register(getOre("oreIridium"), WATER, 100, 64, getMaterial("iridium", Type.INGOT), getMaterial("platinum", 2, Type.SMALL_DUST));
// register(getOre("oreIridium"), MERCURY, 100, 64, getMaterial("iridium", Type.INGOT), getMaterial("platinum", Type.DUST));
// register(getOre("oreQuartz"), WATER, 100, 64, getStack(Items.QUARTZ, 2), getMaterial("sulfur", 2, Type.SMALL_DUST));
// register(getOre("orePyrite"), WATER, 100, 64, getMaterial("pyrite", 5, Type.DUST), getMaterial("sulfur", 2, Type.DUST));
// register(getOre("oreCinnabar"), WATER, 100, 64, getMaterial("cinnabar", 5, Type.DUST), getMaterial("redstone", 2, Type.SMALL_DUST), getMaterial("glowstone", Type.SMALL_DUST));
// register(getOre("oreSphalerite"), WATER, 100, 64, getMaterial("sphalerite", 5, Type.DUST), getMaterial("zinc", Type.DUST), getMaterial("yellow_garnet", Type.SMALL_DUST));
// register(getOre("oreSphalerite"), SODIUM_PERSULFATE, 100, 64, getMaterial("sphalerite", 5, Type.DUST), getMaterial("zinc", 3, Type.DUST), getMaterial("yellow_garnet", Type.SMALL_DUST));
// register(getOre("oreTungsten"), WATER, 100, 64, getMaterial("tungsten", 2, Type.DUST), getMaterial("iron", 3, Type.SMALL_DUST), getMaterial("manganese", 3, Type.SMALL_DUST));
// register(getOre("oreSheldonite"), WATER, 100, 64, getMaterial("platinum", 2, Type.DUST), getMaterial("nickel", Type.DUST), getMaterial("iridium", 2, Type.NUGGET));
// register(getOre("oreSheldonite"), MERCURY, 100, 64, getMaterial("platinum", 3, Type.DUST), getMaterial("nickel", Type.DUST), getMaterial("iridium", 2, Type.NUGGET));
// register(getOre("orePeridot"), WATER, 100, 64, getMaterial("peridot", Type.GEM), getMaterial("peridot", 6, Type.SMALL_DUST), getMaterial("emerald", 2, Type.SMALL_DUST));
// register(getOre("oreRuby"), WATER, 100, 64, getMaterial("ruby", Type.GEM), getMaterial("ruby", 6, Type.SMALL_DUST), getMaterial("red_garnet", 2, Type.SMALL_DUST));
// register(getOre("oreSapphire"), WATER, 100, 64, getMaterial("sapphire", Type.GEM), getMaterial("sapphire", 6, Type.SMALL_DUST), getMaterial("peridot", 2, Type.SMALL_DUST));
// register(getOre("oreSodalite"), WATER, 100, 64, getMaterial("sodalite", 12, Type.DUST), getMaterial("aluminum", 3, Type.DUST));
// register(getStack(Blocks.NETHERRACK, 16), WATER, 1600, 64, getMaterial("netherrack", 16, Type.DUST), getStack(Items.GOLD_NUGGET));
// register(getStack(Blocks.NETHERRACK, 8), MERCURY, 800, 64, getMaterial("netherrack", 8, Type.DUST), getStack(Items.GOLD_NUGGET));
// register(new ItemStack(Blocks.END_STONE), WATER, 100, 64, getMaterial("endstone", 2, Type.DUST));
// register(new ItemStack(Blocks.END_BRICKS), WATER, 100, 64, getMaterial("endstone", 4, Type.DUST));
}
static void register(ItemStack output, FluidStack fluid, int ticks, int euPerTick, ItemStack... inputs) {
if (inputs.length == 3)
RecipeHandler.addRecipe(Reference.INDUSTRIAL_GRINDER_RECIPE, new IndustrialGrinderRecipe(output,
fluid, inputs[0], inputs[1], inputs[2], null, ticks, euPerTick));
else if (inputs.length == 2)
RecipeHandler.addRecipe(Reference.INDUSTRIAL_GRINDER_RECIPE, new IndustrialGrinderRecipe(output,
fluid, inputs[0], inputs[1], null, null, ticks, euPerTick));
else if (inputs.length == 1)
RecipeHandler.addRecipe(Reference.INDUSTRIAL_GRINDER_RECIPE, new IndustrialGrinderRecipe(output,
fluid, inputs[0], null, null, null, ticks, euPerTick));
else if (inputs.length == 4) {
RecipeHandler.addRecipe(Reference.INDUSTRIAL_GRINDER_RECIPE, new IndustrialGrinderRecipe(output,
fluid, inputs[0], inputs[1], inputs[2], inputs[3], ticks, euPerTick));
} else {
throw new InvalidParameterException("Invalid industrial grinder inputs: " + inputs);
}
}
*/
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:bauxite_ore"
}
],
"results": [
{
"item": "techreborn:bauxite_dust",
"count": 4
},
{
"item": "techreborn:aluminum_dust"
}
]
}

View file

@ -0,0 +1,27 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:cinnabar_ore"
}
],
"results": [
{
"item": "techreborn:cinnabar_dust",
"count": 5
},
{
"item": "techreborn:redstone_small_dust",
"count": 2
},
{
"item": "techreborn:glowstone_small_dust"
}
]
}

View file

@ -0,0 +1,20 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:mercury",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:coal_ore"
}
],
"results": [
{
"item": "minecraft:coal",
"count": 4
}
]
}

View file

@ -0,0 +1,20 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:coal_ore"
}
],
"results": [
{
"item": "minecraft:coal",
"count": 3
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:mercury",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:copper_ore"
}
],
"results": [
{
"item": "techreborn:copper_dust",
"count": 3
},
{
"item": "techreborn:gold_small_dust"
}
]
}

View file

@ -0,0 +1,26 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:sodiumpersulfate",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:copper_ore"
}
],
"results": [
{
"item": "techreborn:copper_dust",
"count": 2
},
{
"item": "techreborn:gold_dust"
},
{
"item": "techreborn:nickel_dust"
}
]
}

View file

@ -0,0 +1,26 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:copper_ore"
}
],
"results": [
{
"item": "techreborn:copper_dust",
"count": 2
},
{
"item": "techreborn:gold_small_dust"
},
{
"item": "techreborn:nickel_small_dust"
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:mercury",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:emerald_ore"
}
],
"results": [
{
"item": "minecraft:emerald",
"count": 2
},
{
"item": "techreborn:emerald_small_dust",
"count": 3
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:emerald_ore"
}
],
"results": [
{
"item": "minecraft:emerald"
},
{
"item": "techreborn:emerald_small_dust",
"count": 6
}
]
}

View file

@ -0,0 +1,20 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:end_stone"
}
],
"results": [
{
"item": "techreborn:endstone_dust",
"count": 4
}
]
}

View file

@ -0,0 +1,20 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:end_stone"
}
],
"results": [
{
"item": "techreborn:endstone_dust",
"count": 2
}
]
}

View file

@ -0,0 +1,26 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:mercury",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:galena_ore"
}
],
"results": [
{
"item": "techreborn:galena_dust",
"count": 2
},
{
"item": "techreborn:sulfur_dust"
},
{
"item": "techreborn:silver_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:galena_ore"
}
],
"results": [
{
"item": "techreborn:galena_dust",
"count": 2
},
{
"item": "techreborn:sulfur_dust"
}
]
}

View file

@ -0,0 +1,22 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:mercury",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:iridium_ore"
}
],
"results": [
{
"item": "techreborn:iridium_ingot"
},
{
"item": "techreborn:platinum_dust"
}
]
}

View file

@ -0,0 +1,23 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:iridium_ore"
}
],
"results": [
{
"item": "techreborn:iridium_ingot"
},
{
"item": "techreborn:platinum_small_dust",
"count": 2
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:lead_ore"
}
],
"results": [
{
"item": "techreborn:lead_dust",
"count": 2
},
{
"item": "techreborn:galena_small_dust",
"count": 2
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:nether_quartz_ore"
}
],
"results": [
{
"item": "minecraft:quartz",
"count": 2
},
{
"item": "techreborn:sulfur_small_dust",
"count": 2
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:mercury",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:netherrack",
"count": 8
}
],
"results": [
{
"item": "techreborn:netherrack_dust",
"count": 8
},
{
"item": "minecraft:gold_nugget"
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "minecraft:netherrack",
"count": 16
}
],
"results": [
{
"item": "techreborn:netherrack_dust",
"count": 16
},
{
"item": "minecraft:gold_nugget"
}
]
}

View file

@ -0,0 +1,27 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:peridot_ore"
}
],
"results": [
{
"item": "techreborn:peridot_gem"
},
{
"item": "techreborn:peridot_small_dust",
"count": 6
},
{
"item": "techreborn:emerald_small_dust",
"count": 2
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:pyrite_ore"
}
],
"results": [
{
"item": "techreborn:pyrite_dust",
"count": 5
},
{
"item": "techreborn:sulfur_dust",
"count": 2
}
]
}

View file

@ -0,0 +1,27 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:ruby_ore"
}
],
"results": [
{
"item": "techreborn:ruby_gem"
},
{
"item": "techreborn:ruby_small_dust",
"count": 6
},
{
"item": "techreborn:red_garnet_small_dust",
"count": 2
}
]
}

View file

@ -0,0 +1,27 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:sapphire_ore"
}
],
"results": [
{
"item": "techreborn:sapphire_gem"
},
{
"item": "techreborn:sapphire_small_dust",
"count": 6
},
{
"item": "techreborn:peridot_small_dust",
"count": 2
}
]
}

View file

@ -0,0 +1,27 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:mercury",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:sheldonite_ore"
}
],
"results": [
{
"item": "techreborn:platinum_dust",
"count": 3
},
{
"item": "techreborn:nickel_dust"
},
{
"item": "techreborn:iridium_nugget",
"count": 2
}
]
}

View file

@ -0,0 +1,27 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:sheldonite_ore"
}
],
"results": [
{
"item": "techreborn:platinum_dust",
"count": 2
},
{
"item": "techreborn:nickel_dust"
},
{
"item": "techreborn:iridium_nugget",
"count": 2
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:silver_ore"
}
],
"results": [
{
"item": "techreborn:silver_dust",
"count": 2
},
{
"item": "techreborn:galena_small_dust",
"count": 2
}
]
}

View file

@ -0,0 +1,24 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:sodalite_ore"
}
],
"results": [
{
"item": "techreborn:sodalite_dust",
"count": 12
},
{
"item": "techreborn:aluminum_dust",
"count": 3
}
]
}

View file

@ -0,0 +1,27 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:sodiumpersulfate",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:sphalerite_ore"
}
],
"results": [
{
"item": "techreborn:sphalerite_dust",
"count": 5
},
{
"item": "techreborn:zinc_dust",
"count": 3
},
{
"item": "techreborn:yellow_garnet_dust"
}
]
}

View file

@ -0,0 +1,26 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:sphalerite_ore"
}
],
"results": [
{
"item": "techreborn:sphalerite_dust",
"count": 5
},
{
"item": "techreborn:zinc_dust"
},
{
"item": "techreborn:yellow_garnet_small_dust"
}
]
}

View file

@ -0,0 +1,26 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "techreborn:sodiumpersulfate",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:tin_ore"
}
],
"results": [
{
"item": "techreborn:tin_dust",
"count": 2
},
{
"item": "techreborn:iron_dust"
},
{
"item": "techreborn:zinc_dust"
}
]
}

View file

@ -0,0 +1,26 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:tin_ore"
}
],
"results": [
{
"item": "techreborn:tin_dust",
"count": 2
},
{
"item": "techreborn:iron_small_dust"
},
{
"item": "techreborn:zinc_small_dust"
}
]
}

View file

@ -0,0 +1,28 @@
{
"type": "techreborn:industrial_grinder",
"power": 64,
"time": 100,
"tank": {
"fluid": "minecraft:water",
"amount": 1000
},
"ingredients": [
{
"item": "techreborn:tungsten_ore"
}
],
"results": [
{
"item": "techreborn:tungsten_dust",
"count": 2
},
{
"item": "techreborn:iron_small_dust",
"count": 3
},
{
"item": "techreborn:manganese_small_dust",
"count": 3
}
]
}