// priority: 966

ServerEvents.recipes((event) => {    

    //Sugar Cube Recipe
    //Moved Stone Cutter Compressed Recipe Conversion to 05_additions.js
    event.custom({
        "type": "modern_industrialization:compressor",
        "duration": 80,
        "eu": 2,
        "item_inputs": [
          {
            "amount": 9,
            "item": "minecraft:sugar"
          }
        ],
        "item_outputs": [
          {
            "amount": 1,
            "item": "supplementaries:sugar_cube"
          }
        ]
    }).id("ftbevolution:modern_industrialization/sugar_cube");

    //Adding a Hammering Recipe from Coal and Charcoal to Ash
    event.custom({ type: "farmersdelight:cutting", ingredients: [{ tag: "minecraft:coals" }], result: [{ item: { count: 1, id: "supplementaries:ash" } }], sound: { sound_id: "minecraft:block.anvil.land" }, tool: { tag: "justhammers:hammer" },}).id("ftb:hammering/cutting_board/coals_to_ash");
    event.custom({ type: "farmersdelight:cutting", ingredients: [{ item: "mekanism:block_charcoal" }], result: [{ item: { count: 9, id: "supplementaries:ash" } }], sound: { sound_id: "minecraft:block.anvil.land" }, tool: { tag: "justhammers:hammer" },}).id("ftb:hammering/cutting_board/charcoal_block_to_ash");
    event.custom({ type: "farmersdelight:cutting", ingredients: [{ item: "minecraft:coal_block" }], result: [{ item: { count: 9, id: "supplementaries:ash" } }], sound: { sound_id: "minecraft:block.anvil.land" }, tool: { tag: "justhammers:hammer" },}).id("ftb:hammering/cutting_board/coal_block_to_ash");
    event.custom({ type: "farmersdelight:cutting", ingredients: [{ item: "minecraft:coal_block" }], result: [{ item: { count: 9, id: "supplementaries:ash" } }], sound: { sound_id: "minecraft:block.anvil.land" }, tool: { tag: "justhammers:hammer" },}).id("ftb:hammering/cutting_board/coal_block_to_ash");
   

    //Fixing Netherite Trapdoor Recipe.
    event.shaped(
      Item.of("supplementaries:netherite_trapdoor", 1),
      ["PP", "PP"],
      {
        P: "#c:ingots/netherite",
      }
    ).id("ftb:supplementaries/shaped/netherite_trapdoor");

});