Smelting recipes done.
This commit is contained in:
parent
8964c5aceb
commit
c0164302e9
22 changed files with 171 additions and 71 deletions
|
@ -26,7 +26,6 @@ package techreborn.init;
|
|||
|
||||
import net.fabricmc.fabric.api.block.FabricBlockSettings;
|
||||
import net.minecraft.block.Material;
|
||||
import net.minecraft.fluid.Fluid;
|
||||
import net.minecraft.item.Item;
|
||||
import net.minecraft.util.Identifier;
|
||||
import net.minecraft.util.registry.Registry;
|
||||
|
|
|
@ -68,7 +68,6 @@ public class ModRecipes {
|
|||
|
||||
/*
|
||||
|
||||
SmeltingRecipes.init();
|
||||
ExtractorRecipes.init();
|
||||
RollingMachineRecipes.init();
|
||||
FluidGeneratorRecipes.init();
|
||||
|
|
|
@ -1,69 +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;
|
||||
import net.minecraft.item.Items;
|
||||
import techreborn.init.TRContent;
|
||||
|
||||
/**
|
||||
* Created by Prospector
|
||||
*/
|
||||
public class SmeltingRecipes extends RecipeMethods {
|
||||
public static void init() {
|
||||
|
||||
|
||||
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());
|
||||
|
||||
// TODO: Fix recipe
|
||||
// register(BlockOre2.getOreByName("copper"), getMaterial("copper", Type.INGOT));
|
||||
// register(BlockOre.getOreByName("lead"), getMaterial("lead", Type.INGOT));
|
||||
// register(BlockOre.getOreByName("sheldonite"), getMaterial("platinum", Type.INGOT));
|
||||
|
||||
// Dust smelting
|
||||
// register(getMaterial("iron", Type.DUST), getStack(Items.IRON_INGOT));
|
||||
// register(getMaterial("gold", Type.DUST), getStack(Items.GOLD_INGOT));
|
||||
// register(getMaterial("copper", Type.DUST), getMaterial("copper", Type.INGOT));
|
||||
// register(getMaterial("tin", Type.DUST), getMaterial("tin", Type.INGOT));
|
||||
// register(getMaterial("bronze", Type.DUST), getMaterial("bronze", Type.INGOT));
|
||||
// register(getMaterial("lead", Type.DUST), getMaterial("lead", Type.INGOT));
|
||||
// register(getMaterial("silver", Type.DUST), getMaterial("silver", Type.INGOT));
|
||||
// register(getMaterial("nickel", Type.DUST), getMaterial("nickel", Type.INGOT));
|
||||
// register(getMaterial("platinum", Type.DUST), getMaterial("platinum", Type.INGOT));
|
||||
// register(getMaterial("zinc", Type.DUST), getMaterial("zinc", Type.INGOT));
|
||||
// register(getMaterial("brass", Type.DUST), getMaterial("brass", Type.INGOT));
|
||||
// register(getMaterial("electrum", Type.DUST), getMaterial("electrum", Type.INGOT));
|
||||
// register(getMaterial("invar", Type.DUST), getMaterial("invar", Type.INGOT));
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
static void register(ItemStack input, ItemStack output) {
|
||||
//RebornCraftingHelper.addSmelting(input, output);
|
||||
}
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:mixed_metal_ingot"
|
||||
},
|
||||
"result": "techreborn:advanced_alloy_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:brass_dust"
|
||||
},
|
||||
"result": "techreborn:brass_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:bronze_dust"
|
||||
},
|
||||
"result": "techreborn:bronze_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:copper_ore"
|
||||
},
|
||||
"result": "techreborn:copper_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:copper_dust"
|
||||
},
|
||||
"result": "techreborn:copper_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:electrum_dust"
|
||||
},
|
||||
"result": "techreborn:electrum_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:gold_dust"
|
||||
},
|
||||
"result": "minecraft:gold_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:invar_dust"
|
||||
},
|
||||
"result": "techreborn:invar_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:iron_dust"
|
||||
},
|
||||
"result": "minecraft:iron_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:lead_ore"
|
||||
},
|
||||
"result": "techreborn:lead_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:lead_dust"
|
||||
},
|
||||
"result": "techreborn:lead_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:nickel_dust"
|
||||
},
|
||||
"result": "techreborn:nickel_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:sheldonite_ore"
|
||||
},
|
||||
"result": "techreborn:platinum_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:platinum_dust"
|
||||
},
|
||||
"result": "techreborn:platinum_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:silver_ore"
|
||||
},
|
||||
"result": "techreborn:silver_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:silver_dust"
|
||||
},
|
||||
"result": "techreborn:silver_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:tin_ore"
|
||||
},
|
||||
"result": "techreborn:tin_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:tin_dust"
|
||||
},
|
||||
"result": "techreborn:tin_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"type": "minecraft:smelting",
|
||||
"ingredient": {
|
||||
"item": "techreborn:zinc_dust"
|
||||
},
|
||||
"result": "techreborn:zinc_ingot",
|
||||
"experience": 0.5,
|
||||
"cookingtime": 200
|
||||
}
|
Loading…
Add table
Reference in a new issue