ServerEvents.recipes(event => {

    event.replaceInput(
        { input: 'minecraft:compass' }, // Arg 1: the filter
        'minecraft:compass',            // Arg 2: the item to replace
        'firmaciv:firmaciv_compass'         // Arg 3: the item to replace it with
      )

      event.replaceInput(
        { input: 'minecraft:iron_ingot' }, // Arg 1: the filter
        'minecraft:iron_ingot',            // Arg 2: the item to replace
        'tfc:metal/ingot/wrought_iron'        // Arg 3: the item to replace it with
      )

      event.replaceInput(
        { input: 'minecraft:iron_bars' }, // Arg 1: the filter
        'minecraft:iron_bars',            // Arg 2: the item to replace
        'tfc:metal/bars/wrought_iron'        // Arg 3: the item to replace it with
      )




    //Minecraft
      
    event.shaped(
        Item.of('minecraft:stonecutter', 1), 
        [
        ' A ',
        'BBB'
        ],
        {
        A: 'immersiveengineering:sawblade',
        B: '#tfc:rock/hardened'
        }
    )      
    event.shaped(
        Item.of('minecraft:bucket', 1), 
        [
        'AHB',
        'CGD',
        ' F '
        ],
        {
        A: 'tfc:metal/ingot/blue_steel',
        B: 'tfc:metal/ingot/steel',
        C: 'tfc:metal/ingot/black_steel',
        D: 'tfc:metal/ingot/red_steel',
        F: 'firmalife:metal/ingot/stainless_steel',
        G: 'tfc:metal/bucket/red_steel',
        H: 'tfc:metal/bucket/blue_steel'
        }
    )


    event.shapeless(
        Item.of('minecraft:map', 1), 
        [
          '#forge:leather',
          'minecraft:paper'
        ]
      )


      event.custom({
        "type": "create:mixing",
        "ingredients": [
          {
            "item": "tfc:powder/sulfur",
            "count": 4
          },
          {
            "item": "tfc:powder/native_gold",
            "count": 8
          },
          {
            "item": "tfcorewashing:chromium_powder",
            "count": 2
          },
          {
            "fluid": "tfmg:kerosene",
            "amount": 100
          }
        ],
        "results": [
          {
            "item": "minecraft:glowstone_dust",
            "count": 4
          }
        ],
        "heatRequirement": "heated"
      }
    )

    
    //Metal Press

    event.custom(
      {
          "type": "immersiveengineering:metal_press",
          "mold": "tfc_ie_addon:mold_block",
          "input": {
            "base_ingredient": {
              "tag": "forge:gems/diamond"
            },
            "count": 9
          },
          "result": {
            "item": "minecraft:diamond_block"
          },
          "energy": 100000
        }
  )

  event.custom(
    {
        "type": "immersiveengineering:metal_press",
        "mold": "tfc_ie_addon:mold_block",
        "input": {
          "base_ingredient": {
            "item": "tfc:metal/double_ingot/gold"
          },
          "count": 9
        },
        "result": {
          "item": "minecraft:gold_block"
        },
        "energy": 100000
      }
)

event.custom(
  {
      "type": "immersiveengineering:metal_press",
      "mold": "tfc_ie_addon:mold_block",
      "input": {
        "base_ingredient": {
          "item": "firmalife:metal/double_ingot/stainless_steel"
        },
        "count": 9
      },
      "result": {
        "item": "minecraft:iron_block"
      },
      "energy": 100000
    }
)

})