#@ts-nocheck
#nowarn

import crafttweaker.api.recipe.Replacer;
import crafttweaker.api.data.IData;
import crafttweaker.api.data.MapData;
import crafttweaker.api.item.IItemStack;
import crafttweaker.api.item.IIngredient;
import crafttweaker.api.item.IIngredientTransformer;
import crafttweaker.api.data.INumberData;

function addSmeltingRecipe(id as string, out as IItemStack, ins as IItemStack, xp as float, time as int) as void {
    furnace.addRecipe(id, out, ins, xp, time);
    blastFurnace.addRecipe(id, out, ins, xp, time/2);
}
addSmeltingRecipe("smooth_sky_stone_block", <item:appliedenergistics2:smooth_sky_stone_block>, <item:appliedenergistics2:sky_stone_block>, 0.7, 200);
addSmeltingRecipe("netherite_scrap_from_dust", <item:minecraft:netherite_scrap>, <item:bloodmagic:sand_netherite>, 0.7, 200);
addSmeltingRecipe("nebu_drop_from_crushed", <item:atum:nebu_drop>*3, <item:emendatusenigmatica:nebu_crushed>, 0.7, 200);
addSmeltingRecipe("titanium_ingot_from_dust", <item:kubejs:titanium_ingot>, <item:kubejs:titanium_dust>, 0.7, 200);
addSmeltingRecipe("titanium_ingot_from_ore", <item:kubejs:titanium_ingot>, <item:kubejs:titanium_ore>, 0.7, 200);
addSmeltingRecipe("chromium_ingot_from_dust", <item:kubejs:chromium_ingot>, <item:kubejs:chromium_dust>, 0.7, 200);
addSmeltingRecipe("chromium_ingot_from_ore", <item:kubejs:chromium_ingot>, <item:kubejs:chromium_ore>, 0.7, 200);
addSmeltingRecipe("holy_ingot", <item:kubejs:holy_ingot>, <item:kubejs:holy_dust>, 0.7, 200);
addSmeltingRecipe("stainless_steel_ingot", <item:kubejs:stainless_steel_ingot>, <item:kubejs:stainless_steel_dust>, 0.7, 200);
addSmeltingRecipe("dimensional_block", <item:rftoolsdim:dimensional_block>, <item:rftoolsdim:dimensional_blank_block>, 0.1, 200);
addSmeltingRecipe("fluix_steel_ingot", <item:lazierae2:fluix_steel_ingot>, <item:kubejs:fluix_steel_dust>, 0.7, 200);