#@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;

var air = <item:minecraft:air>;

<recipetype:tconstruct:casting_basin>.addItemCastingRecipe(
    "glass", air, <fluid:tconstruct:molten_glass>*1000, <item:tconstruct:clear_glass>, 80, true, false
);
<recipetype:tconstruct:casting_table>.addItemCastingRecipe(
    "glass_pane", air, <fluid:tconstruct:molten_glass>*250, <item:tconstruct:clear_glass_pane>, 30, true, false
);
<recipetype:tconstruct:casting_basin>.addItemCastingRecipe(
    "seared_glass", <item:tconstruct:clear_glass>, <fluid:tconstruct:seared_stone>*576, <item:tconstruct:seared_glass>, 100, true, false
);
<recipetype:tconstruct:casting_basin>.addItemCastingRecipe(
    "scorched_glass", <item:minecraft:quartz>, <fluid:tconstruct:scorched_stone>*576, <item:tconstruct:scorched_glass>, 100, true, false
);
<recipetype:tconstruct:casting_table>.addItemCastingRecipe(
    "punch", air, <fluid:emendatusenigmatica:molten_cast_iron>*1152, <item:kubejs:punch>, 160, true, true
);
<recipetype:tconstruct:casting_basin>.addItemCastingRecipe(
    "smithing_table", <item:minecraft:crafting_table>, <fluid:tconstruct:molten_iron>*576, <item:minecraft:smithing_table>, 150, true, false
);
<recipetype:tconstruct:casting_basin>.addItemCastingRecipe(
    "spikes", <item:supplementaries:bamboo_spikes>, <fluid:tconstruct:molten_iron>*1152, <item:mob_grinding_utils:spikes>, 200, true, false
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "cast_iron_from_ingot", <item:emendatusenigmatica:cast_iron_ingot>, <fluid:emendatusenigmatica:molten_cast_iron>*144, 1500, 64
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "cast_iron_from_nugget", <item:emendatusenigmatica:cast_iron_nugget>, <fluid:emendatusenigmatica:molten_cast_iron>*16, 1500, 20
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "cast_iron_from_block", <item:emendatusenigmatica:cast_iron_block>, <fluid:emendatusenigmatica:molten_cast_iron>*1296, 1500, 192
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "arcane_gold_from_cast", <tag:items:tconstruct:casts/gold>, <fluid:materialis:molten_arcane_gold>*144, 1000, 64
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "molten_redstone_from_dust", <item:minecraft:redstone>, <fluid:emendatusenigmatica:molten_redstone>*100, 500, 20
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "molten_redstone", <item:minecraft:redstone_block>, <fluid:emendatusenigmatica:molten_redstone>*900, 500, 180
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "molten_glowstone_from_dust", <item:minecraft:glowstone_dust>, <fluid:kubejs:molten_glowstone>*100, 500, 20
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "molten_glowstone", <item:minecraft:glowstone>, <fluid:kubejs:molten_glowstone>*400, 500, 80
);
<recipetype:tconstruct:casting_table>.addItemCastingRecipe(
    "blank_cast", air, <fluid:materialis:molten_arcane_gold>*144, <item:tconstruct:blank_cast>, 40, true, true
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "nebu_from_ingot", <item:atum:nebu_ingot>, <fluid:emendatusenigmatica:molten_nebu>*144, 1500, 80
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "nebu_from_block", <item:atum:nebu_block>, <fluid:emendatusenigmatica:molten_nebu>*1296, 1500, 240
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "nebu_from_drop", <item:atum:nebu_drop>, <fluid:emendatusenigmatica:molten_nebu>*16, 1500, 20
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "nebu_from_dust", <item:emendatusenigmatica:nebu_dust>, <fluid:emendatusenigmatica:molten_nebu>*144, 1500, 80
);
<recipetype:tconstruct:melting>.addMeltingRecipe(
    "nebu_from_ore", <item:atum:nebu_ore>, <fluid:emendatusenigmatica:molten_nebu>*96, 1500, 40
);
<recipetype:tconstruct:casting_basin>.addItemCastingRecipe(
    "nebu_block", air, <fluid:emendatusenigmatica:molten_nebu>*1296, <item:atum:nebu_block>, 160, true, false
);
<recipetype:tconstruct:casting_basin>.addItemCastingRecipe(
    "glowstone", air, <fluid:kubejs:molten_glowstone>*400, <item:minecraft:glowstone>, 80, true, false
);
<recipetype:tconstruct:casting_basin>.addItemCastingRecipe(
    "rubber_block", air, <fluid:thermal:latex>*1000, <item:thermal:rubber_block>, 480, true, false
);
<recipetype:tconstruct:alloying>.addRecipe(
    "soulsteel", [ <fluid:kubejs:soul_essence>*1000, <fluid:tconstruct:molten_steel>*576 ], <fluid:tconstruct:molten_soulsteel>*576, 1200
);
<recipetype:tconstruct:alloying>.addRecipe(
    "enderslime", [ <fluid:tconstruct:earth_slime>*1000, <fluid:tconstruct:molten_ender>*250 ], <fluid:tconstruct:ender_slime>*1000, 100
);
<recipetype:tconstruct:alloying>.addRecipe(
    "scorched_stone", [ <fluid:tconstruct:seared_stone>*576, <fluid:tconstruct:magma>*500, <fluid:tconstruct:liquid_soul>*1000], <fluid:tconstruct:scorched_stone>*576, 800
);
<recipetype:tconstruct:casting_basin>.addItemCastingRecipe(
    "concrete", air, <fluid:immersiveengineering:concrete>*1000, <item:immersiveengineering:concrete>, 120, true, false
);
<recipetype:tconstruct:casting_basin>.addItemCastingRecipe(
    "rebar_concrete", <item:immersiveengineering:steel_scaffolding_standard>, <fluid:immersiveengineering:concrete>*1000, <item:engineersdecor:rebar_concrete>, 240, true, false
);
<recipetype:tconstruct:casting_basin>.addItemCastingRecipe(
    "asphalt", air, <fluid:kubejs:asphalt>*1000, <item:immersivepetroleum:asphalt>, 120, true, false
);
<recipetype:tconstruct:molding_table>.addRecipe(
    "ingot_sand_cast", <item:tconstruct:blank_sand_cast>, <tag:items:forge:ingots>, false, <item:tconstruct:ingot_sand_cast>
);
<recipetype:tconstruct:molding_table>.addRecipe(
    "ingot_red_sand_cast", <item:tconstruct:blank_red_sand_cast>, <tag:items:forge:ingots>, false, <item:tconstruct:ingot_red_sand_cast>
);