ServerEvents.recipes((event) => {
  // melt blaze rods into blazing blood
  event.custom({
    type: "tconstruct:melting",
    ingredient: { item: "minecraft:blaze_rod" },
    result: { fluid: "tconstruct:blazing_blood", amount: 100 },
    temperature: 750,
    time: 30,
  });
  // Custom Melting
  event.custom({
    type: "tconstruct:melting",
    ingredient: { item: "kubejs:compressed_grout" },
    result: {
      fluid: "kubejs:molten_grout",
      amount: 100,
    },
    temperature: 750,
    time: 30,
  });

  event.custom({
    type: "tconstruct:melting",
    ingredient: { item: "minecraft:coal" },
    result: { fluid: "kubejs:molten_coal", amount: 50 },
    temperature: 750,
    time: 30,
  });

  // Basic Resource Cores
  event.custom({
    type: "tconstruct:casting_table",
    conditions: [
      {
        value: { fluid: "kubejs:molten_grout", type: "forge:fluid_empty" },
        type: "forge:not",
      },
    ],
    fluid: { name: "kubejs:molten_grout", amount: 1000 },
    result: { item: "kubejs:basic_resource_shell" },
    cooling_time: 65,
  });
  event.custom({
    type: "tconstruct:casting_table",
    cast: { item: "kubejs:basic_resource_shell" },
    fluid: { fluid: "tconstruct:molten_iron", amount: 1000 },
    result: { item: "kubejs:iron_resource_core" },
    cooling_time: 100,
    cast_consumed: true,
  });
   event.custom({
    type: "tconstruct:casting_table",
    cast: { item: "kubejs:basic_resource_shell" },
    fluid: { fluid: "tconstruct:molten_zinc", amount: 1000 },
    result: { item: "kubejs:zinc_resource_core" },
    cooling_time: 100,
    cast_consumed: true,
  });
   event.custom({
    type: "tconstruct:casting_table",
    cast: { item: "kubejs:basic_resource_shell" },
    fluid: { fluid: "kubejs:molten_coal", amount: 1000 },
    result: { item: "kubejs:coal_resource_core" },
    cooling_time: 100,
    cast_consumed: true,
  });
   event.custom({
    type: "tconstruct:casting_table",
    cast: { item: "kubejs:basic_resource_shell" },
    fluid: { fluid: "tconstruct:molten_copper", amount: 1000 },
    result: { item: "kubejs:copper_resource_core" },
    cooling_time: 100,
    cast_consumed: true,
  });
   
});
