ServerEvents.recipes(event => {







    //KJS

        

        event.shaped(
          Item.of('kubejs:unprocessed_cogwheel', 1), 
          [
          'A',
          'B',
          'C'
          ],
          {
          A: 'create:shaft',
          B: 'railcraft:bushing_gear',
          C: 'immersiveengineering:treated_wood_horizontal'
          }
      )


      event.shaped(
        Item.of('kubejs:unassembled_light_engineering', 2), 
        [
        'BDB',
        'CAC',
        'BDB'
        ],
        {
        A: 'tfc:metal/ingot/copper',
        B: 'immersiveengineering:sheetmetal_iron',
        C: 'immersiveengineering:component_iron',
        D: 'pneumaticcraft:plastic'
        }
    )

    event.shaped(
        Item.of('kubejs:unassembled_redstone_engineering', 2), 
        [
        'BDB',
        'CAC',
        'BDB'
        ],
        {
        A: 'tfc:metal/ingot/copper',
        B: 'immersiveengineering:sheetmetal_iron',
        C: 'minecraft:redstone',
        D: 'pneumaticcraft:plastic'
        }
    )

    event.shaped(
        Item.of('kubejs:unassembled_heavy_engineering', 2), 
        [
        'BDB',
        'CAC',
        'BDB'
        ],
        {
        A: 'immersiveengineering:ingot_electrum',
        B: 'immersiveengineering:sheetmetal_steel',
        C: 'immersiveengineering:component_steel',
        D: 'pneumaticcraft:plastic'
        }
    )






            //TFC Forging
        event.custom(
        {
          "__comment__": "This file was automatically created by mcresources",
          "type": "tfc:anvil",
          "input": {
            "item": "tfc:metal/ingot/black_steel"
          },
          "result": {
            "item": "kubejs:hardened_barrel"
          },
          "tier": 5,
          "rules": [
            "draw_last",
            "hit_any",
            "shrink_any"
          ]
        }
        )

        
          //Pressure Chamber
          

  event.custom({
    "type": "pneumaticcraft:pressure_chamber",
    "inputs": [
      {
        "type": "pneumaticcraft:stacked_item",
        "count": 9,
        "item": "immersiveengineering:ingot_hop_graphite"
      }
    ],
    "pressure": 3.5,
    "results": [
      {
        "item": "kubejs:graphite_block"
      }
    ]
  }
)




  //Metal Press
  
  event.custom(
    {
        "type": "immersiveengineering:metal_press",
        "mold": "immersiveengineering:mold_gear",
        "input": {
          "base_ingredient": {
            "item": "kubejs:unprocessed_cogwheel"
          },
          "count": 1
        },
        "result": {
          "item": "create:cogwheel"
        },
        "energy": 10000
      }
)



        //Sandpaper Polishing

        event.custom({
          "type": "create:sandpaper_polishing",
          "ingredients": [
          {
              "tag": "kubejs:fossil_in_stone"
          }
          ],
          "results": [
          {
              "item": "kubejs:fossil"
          }
          ]
      })


  //Rolling 

  event.custom({
    "type": "railcraft:rolling",
    "key": {
      "a": {
        "item": "dfc:metal/sheet/pewter"
      }
    },
    "pattern": [
      "a"
    ],
    "result": {
      "count": 3,
      "item": "kubejs:soldering_wire"
    }
  }
  )

            // TFC Forging

            event.custom({

              "type": "tfc:anvil",
              "input": {
              "item": "dfc:metal/sheet/pewter"
              },
              "result": {
                "count": 2,
              "item": "kubejs:soldering_wire"
              },
              "tier": 2,
              "rules": [
              "hit_last",
              "hit_second_last",
              "hit_third_last"
              ],
              "apply_forging_bonus": false
          }
          )

      //Create Rolling
      
    
        event.custom( {
          "type":"createaddition:rolling",
          "input": {
                "item": "dfc:metal/sheet/pewter"
          },
          "result": {
              "item": "kubejs:soldering_wire",
              "count": 4
          }
      }
      )


      //Metal Press
      event.custom({
        "__comment__": "This file was automatically created by mcresources",
        "type": "immersiveengineering:metal_press",
        "mold": "tfc_ie_addon:mold_sheet",
        "input": {
          "count": 1,
          "base_ingredient": {
            "item": "dfc:metal/ingot/pewter"
          }
        },
        "result": {
          "item": "kubejs:soldering_wire",
          "count": 2
        },
        "energy": 2400
      }
  
    )
  





})