ServerEvents.recipes(event => {







    //Railcraft
        event.shaped(
            Item.of('railcraft:track_relayer', 1), 
            [
            'ABA',
            'CDC',
            'EFE'
            ],
            {
            A: '#forge:dyes/yellow',
            B: 'create:rose_quartz_lamp',
            C: 'minecraft:piston',
            D: 'tfc:metal/block/steel',
            E: 'tfc:metal/pickaxe/steel',
            F: 'minecraft:minecart',
            }
        )

        event.shaped(
            Item.of('railcraft:track_undercutter', 1), 
            [
            'ABA',
            'CDC',
            'EFE'
            ],
            {
            A: '#forge:dyes/yellow',
            B: 'create:rose_quartz_lamp',
            C: 'minecraft:piston',
            D: 'tfc:metal/block/steel',
            E: 'tfc:metal/shovel/steel',
            F: 'minecraft:minecart',
            }
        )

        event.shaped(
            Item.of('railcraft:track_layer', 1), 
            [
            'ABA',
            'CDC',
            'EFE'
            ],
            {
            A: '#forge:dyes/yellow',
            B: 'create:rose_quartz_lamp',
            C: 'minecraft:piston',
            D: 'tfc:metal/block/steel',
            E: 'minecraft:dispenser',
            F: 'minecraft:minecart',
            }
        )

        event.shaped(
            Item.of('railcraft:stone_tie', 1), 
            [
            'BCB'
            ],
            {
            B: 'railcraft:bag_of_cement',
            C: 'railcraft:rebar'
            }
        )

        event.shaped(
            Item.of('railcraft:stone_railbed', 1), 
            [
            'BB',
            'BB'
            ],
            {
            B: 'kubejs:set_stone_tie'
            }
        )
        
        event.shaped(
            Item.of('railcraft:bag_of_cement', 2), 
            [
            'AB',
            'BA'
            ],
            {
            A: '#tfc:rock/gravel',
            B: 'tfc:mortar'
            }
        )

        event.shaped(
            Item.of('railcraft:steam_locomotive', 1), 
            [
            'AAB',
            'AAC',
            'DEE'
            ],
            {
            A: 'railcraft:white_iron_tank_wall',
            B: 'tfc:fire_bricks',
            C: 'gtceu:hp_steam_solid_boiler',
            D: 'tfc:metal/bars/wrought_iron',
            E: 'minecraft:minecart'
            }
        )

        event.shaped(
            Item.of('railcraft:white_steel_tank_gauge', 8), 
            [
            'ABA',
            'BAB',
            'ABA'
            ],
            {
            A: 'minecraft:glass_pane',
            B: 'tfc:metal/sheet/steel'
            }
        )

        event.shaped(
            Item.of('railcraft:white_steel_tank_valve', 2), 
            [
            'ABA',
            'BCB',
            'ABA'
            ],
            {
            B: 'tfc:metal/bars/steel',
            A: 'tfc:metal/sheet/steel',
            C: 'minecraft:lever'
            }
        )

        event.shaped(
            Item.of('railcraft:dumping_track_kit', 4), 
            [
            'AB',
            'CD'
            ],
            {
            A: '#minecraft:planks',
            B: 'tfc:metal/sheet/steel',
            C: 'minecraft:redstone',
            D: 'railcraft:track_parts'
            }
        )

        event.shaped(
            Item.of('railcraft:frame', 6), 
            [
            'AAA',
            'B B',
            'BBB'
            ],
            {
            A: 'tfc:metal/sheet/brass',
            B: 'railcraft:rebar'
            }
        )

        event.shaped(
            Item.of('railcraft:frame', 6), 
            [
            'AAA',
            'B B',
            'BBB'
            ],
            {
            A: 'tfc:metal/sheet/bronze',
            B: 'railcraft:rebar'
            }
        )

        event.shaped(
            Item.of('railcraft:frame', 16), 
            [
            'AAA',
            'B B',
            'BBB'
            ],
            {
            A: 'tfc:metal/sheet/steel',
            B: 'railcraft:rebar'
            }
        )

        event.shaped(
            Item.of('railcraft:frame', 10), 
            [
            'AAA',
            'B B',
            'BBB'
            ],
            {
            A: 'tfc:metal/sheet/wrought_iron',
            B: 'railcraft:rebar'
            }
        )

        event.shaped(
            Item.of('railcraft:steam_turbine', 4), 
            [
            'ABA',
            'BCB',
            'ABA'
            ],
            {
            A: 'tfc:metal/double_ingot/steel',
            B: 'tfc:metal/ingot/wrought_iron',
            C:'railcraft:charge_motor'
            }
        )

        event.shaped(
            Item.of('railcraft:electric_locomotive', 1), 
            [
            'EF ',
            'BAB',
            'CDC'
            ],
            {
            A: 'railcraft:nickel_iron_battery',
            B: 'railcraft:charge_motor',
            C:'railcraft:steel_gear',
            D:'minecraft:minecart',
            E:'create:rose_quartz_lamp',
            F:'tfc:metal/sheet/steel'
            }
        )
        
        event.shaped(
            Item.of('railcraft:charge_terminal', 2), 
            [
            ' A ',
            'BBB'
            ],
            {
            A: 'tfc:metal/sheet/brass',
            B: 'tfc:metal/ingot/brass'
            }
        )

        event.shaped(
            Item.of('railcraft:force_track_emitter', 1), 
            [
            'ABA',
            'DCD',
            'ABA'
            ],
            {
            A: 'tfc:metal/sheet/tin',
            B: 'ae2:ender_dust',
            C:'minecraft:diamond_block',
            D:'railcraft:charge_coil'
            }
        )

        event.shaped(
            Item.of('railcraft:charge_motor', 1), 
            [
            ' B ',
            'ADA',
            ' C '
            ],
            {
            A: 'tfc:brass_mechanisms',
            B: 'tfc:metal/ingot/wrought_iron',
            C:'railcraft:charge_terminal',
            D:'railcraft:charge_coil'
            }
        )

        event.shaped(
            Item.of('railcraft:white_iron_tank_gauge', 8), 
            [
            'BAB',
            'ABA',
            'BAB'
            ],
            {
            A: 'tfc:metal/sheet/wrought_iron',
            B: 'minecraft:glass_pane'
            }
        )

        event.shaped(
            Item.of('railcraft:white_iron_tank_valve', 2), 
            [
            'BAB',
            'ACA',
            'BAB'
            ],
            {
            B: 'tfc:metal/sheet/wrought_iron',
            A: 'tfc:metal/bars/wrought_iron',
            C: 'minecraft:lever' 
            }
        )

        event.shaped(
            Item.of('railcraft:charge_coil', 1), 
            [
            'BBB',
            'AAA',
            'BBB'
            ],
            {
            A: 'tfc:metal/rod/cast_iron',
            B: 'railcraft:charge_spool_small'
            }
        )

        event.shaped(
            Item.of('railcraft:low_pressure_steam_boiler_tank', 4), 
            [
            'AAA',
            'A A',
            'AAA'
            ],
            {
            A: 'tfc:metal/ingot/wrought_iron'
            }
        )

        event.shaped(
            Item.of('railcraft:fluid_fueled_firebox', 1), 
            [
            'AAA',
            'BDB',
            'CCC'
            ],
            {
            A: 'tfc:metal/sheet/wrought_iron',
            B: 'tfc:metal/bars/wrought_iron',
            C: 'tfc:metal/ingot/wrought_iron',
            D:'minecraft:fire_charge'
            }
        )

        event.shaped(
            Item.of('railcraft:solid_fueled_firebox', 1), 
            [
            'AAA',
            'ADA',
            'CCC'
            ],
            {
            A: 'tfc:ceramic/fire_brick',
            C: 'tfc:metal/ingot/wrought_iron',
            D:'minecraft:fire_charge'
            }
        )

        event.shaped(
            Item.of('railcraft:high_pressure_steam_boiler_tank', 4), 
            [
            'BAB',
            'ABA',
            'BAB'
            ],
            {
            A: 'railcraft:low_pressure_steam_boiler_tank',
            B: 'tfc:metal/ingot/steel'
            }
        )

        event.shaped(
            Item.of('railcraft:tunnel_bore', 1), 
            [
            'ABA',
            'ACA',
            ' D '
            ],
            {
            A: 'tfc:metal/double_ingot/steel',
            B: 'railcraft:steel_gear',
            C: 'railcraft:solid_fueled_firebox',
            D: '#tfc:minecarts'
            }
        )

        event.shaped(
            Item.of('railcraft:iron_crowbar', 1), 
            [
            ' AB',
            'ABA',
            'BA '
            ],
            {
            A: 'minecraft:red_dye',
            B: 'tfc:metal/ingot/wrought_iron'
            }
        )

        event.shaped(
            Item.of('railcraft:item_loader', 1), 
            [
            'AAA',
            'ABA',
            'ACA'
            ],
            {
            A: '#tfc:cobble',
            B: 'minecraft:hopper',
            C: 'railcraft:item_detector'
            }
        )

        event.shaped(
            Item.of('railcraft:advanced_item_loader', 1), 
            [
            'ABA',
            'BCB',
            'ABA'
            ],
            {
            A: 'tfc:metal/ingot/steel',
            B: 'minecraft:redstone',
            C: 'railcraft:item_loader'
            }
        )

        event.shaped(
            Item.of('railcraft:item_unloader', 1), 
            [
            'AAA',
            'ACA',
            'ABA'
            ],
            {
            A: '#tfc:cobble',
            B: 'minecraft:hopper',
            C: 'railcraft:item_detector'
            }
        )

        event.shaped(
            Item.of('railcraft:advanced_item_unloader', 1), 
            [
            'ABA',
            'BCB',
            'ABA'
            ],
            {
            A: 'tfc:metal/ingot/steel',
            B: 'minecraft:redstone',
            C: 'railcraft:item_unloader'
            }
        )

        event.shaped(
            Item.of('railcraft:advanced_detector', 1), 
            [
            'AAA',
            'ABA',
            'AAA'
            ],
            {
            A: 'tfc:metal/ingot/steel',
            B: '#minecraft:stone_pressure_plates'
            }
        )

        event.shaped(
            Item.of('railcraft:age_detector', 1), 
            [
            'AAA',
            'ABA',
            'AAA'
            ],
            {
            A: '#tfc:logs',
            B: '#minecraft:stone_pressure_plates'
            }
        )

        event.shaped(
            Item.of('railcraft:animal_detector', 1), 
            [
            'CAC',
            'ABA',
            'CAC'
            ],
            {
            A: '#tfc:logs',
            B: '#minecraft:stone_pressure_plates',
            C: '#tfc:lumber'
            }
        )

        event.shaped(
            Item.of('railcraft:any_detector', 1), 
            [
            'AAA',
            'ABA',
            'AAA'
            ],
            {
            A: '#tfc:raw_stone',
            B: '#minecraft:stone_pressure_plates'
            }
        )

        event.shaped(
            Item.of('railcraft:empty_detector', 1), 
            [
            'AAA',
            'ABA',
            'AAA'
            ],
            {
            A: '#tfc:bricks',
            B: '#minecraft:stone_pressure_plates'
            }
        )

        event.shaped(
            Item.of('railcraft:item_detector', 1), 
            [
            'AAA',
            'ABA',
            'AAA'
            ],
            {
            A: '#tfc:stripped_logs',
            B: '#minecraft:stone_pressure_plates'
            }
        )

        event.shaped(
            Item.of('railcraft:mob_detector', 1), 
            [
            'AAA',
            'ABA',
            'AAA'
            ],
            {
            A: '#tfc:mossy_cobble',
            B: '#minecraft:stone_pressure_plates'
            }
        )

        event.shaped(
            Item.of('railcraft:player_detector', 1), 
            [
            'AAA',
            'ABA',
            'AAA'
            ],
            {
            A: '#tfc:raw_stone_slab',
            B: '#minecraft:stone_pressure_plates'
            }
        )

        event.shaped(
            Item.of('railcraft:routing_detector', 1), 
            [
            'AAA',
            'ABA',
            'AAA'
            ],
            {
            A: 'tfc_ie_addon:mineral/quartz_shard',
            B: '#minecraft:stone_pressure_plates'
            }
        )

        event.shaped(
            Item.of('railcraft:train_detector', 1), 
            [
            'AAA',
            'ABA',
            'AAA'
            ],
            {
            A: '#tfc:mud_brick',
            B: '#minecraft:stone_pressure_plates'
            }
        )

        event.shaped(
            Item.of('railcraft:tank_detector', 1), 
            [
            'AAA',
            'ABA',
            'AAA'
            ],
            {
            A: '#tfc:brick_bricks',
            B: '#minecraft:stone_pressure_plates'
            }
        )

        event.shaped(
            Item.of('railcraft:locomotive_detector', 1), 
            [
            'AAA',
            'ABA',
            'AAA'
            ],
            {
            A: 'tfc:alabaster/bricks/black',
            B: '#minecraft:stone_pressure_plates'
            }
        )

        event.shaped(
            Item.of('railcraft:track_remover', 1), 
            [
            'ABA',
            'CDC',
            'EFE'
            ],
            {
            A: '#forge:dyes/yellow',
            B: 'create:rose_quartz_lamp',
            C: 'minecraft:sticky_piston',
            D: 'railcraft:steel_block',
            E: '#railcraft:crowbar',
            F: 'minecraft:minecart'
            }
        )

        event.shaped(
            Item.of('railcraft:crusher', 6), 
            [
            'EBE',
            'BCB',
            'ADA'
            ],
            {
            A: 'tfc:metal/double_ingot/steel',
            B: 'minecraft:piston',
            C: 'railcraft:charge_motor',
            D: 'railcraft:steel_gear',
            E: 'tfc:metal/ingot/steel'
            }
        )

        event.shaped(
            Item.of('railcraft:turbine_rotor', 1), 
            [
            'ABA'
            ],
            {
            A: 'railcraft:turbine_disk',
            B: 'tfc:metal/rod/steel'
            }
        )

        event.shaped(
            Item.of('railcraft:powered_rolling_machine', 1), 
            [
            'DCD',
            'CBC',
            'DAD'
            ],
            {
            A: 'railcraft:charge_motor',
            B: '#tfc:workbenches',
            C: 'minecraft:piston',
            D: 'railcraft:iron_gear'
            }
        )

        event.shaped(
            Item.of('railcraft:diamond_tunnel_bore_head', 1), 
            [
            'BCB',
            'CAC',
            'BCB'
            ],
            {
            A: 'railcraft:steel_block',
            B: 'tfc:metal/ingot/steel',
            C: 'tfc:gem/diamond'
            }
        )

        event.shaped(
            Item.of('railcraft:steel_tunnel_bore_head', 1), 
            [
            'BCB',
            'CCC',
            'BCB'
            ],
            {
            B: 'tfc:metal/ingot/steel',
            C: 'tfc:metal/double_ingot/black_steel'
            }
        )



        
        










        event.shapeless(
          Item.of('railcraft:wooden_rail', 6), 
          [
            'tfc:metal/ingot/bronze',
            'railcraft:wooden_tie'
          ]
        )


































        







        //Rolling
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "a": {
                "item": "tfc:metal/ingot/wrought_iron"
              }
            },
            "pattern": [
              "a a",
              "aaa",
              "a a"
            ],
            "result": {
              "count": 32,
              "item": "railcraft:black_post"
            }
          }
        )
        
        event.custom({
          "type": "railcraft:rolling",
          "key": {
            "a": {
              "item": "tfc:metal/sheet/bronze"
            }
          },
          "pattern": [
            "aa",
            "aa"
          ],
          "result": {
            "count": 6,
            "item": "railcraft:bushing_gear"
          }
        }
      )
        
      event.custom({
        "type": "railcraft:rolling",
        "key": {
          "a": {
            "item": "tfc:metal/sheet/brass"
          }
        },
        "pattern": [
          "aa",
          "aa"
        ],
        "result": {
          "count": 12,
          "item": "railcraft:bushing_gear"
        }
      }
    )

    
        
    event.custom({
      "type": "railcraft:rolling",
      "key": {
        "A": {
          "item": "immersiveengineering:treated_wood_horizontal"
        },
        "B": {
          "item": "tfc:metal/sheet/copper"
        },
        "C": {
          "item": "tfc:glue"
        }
      },
      "pattern": [
        'AAA',
        'BCB',
        'AAA'
      ],
      "result": {
        "count": 6,
        "item": "railcraft:water_tank_siding"
      }
    }
  )

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "a": {
      "item": "tfc:metal/sheet/wrought_iron"
    }
  },
  "pattern": [
    "aa",
    "aa"
  ],
  "result": {
    "count": 8,
    "item": "railcraft:white_iron_tank_wall"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "a": {
      "item": "tfc:metal/sheet/steel"
    }
  },
  "pattern": [
    "aa",
    "aa"
  ],
  "result": {
    "count": 8,
    "item": "railcraft:white_steel_tank_wall"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "a": {
      "item": "tfc:metal/ingot/copper"
    }
  },
  "pattern": [
    "a"
  ],
  "result": {
    "count": 6,
    "item": "railcraft:charge_spool_small"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "a": {
      "item": "tfc_ie_addon:treated_wood_lumber"
    }
  },
  "pattern": [
    "aaa"
  ],
  "result": {
    "count": 6,
    "item": "railcraft:wooden_tie"
  }
}
)





        
            //Electrodes

        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/sheet/zinc"
              }
            },
            "pattern": [
              'A',
              'A',
              'A'
            ],
            "result": {
              "count": 1,
              "item": "railcraft:zinc_electrode"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/sheet/nickel"
              }
            },
            "pattern": [
              'A',
              'A',
              'A'
            ],
            "result": {
              "count": 1,
              "item": "railcraft:nickel_electrode"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc_ie_addon:metal/sheet/lead"
              }
            },
            "pattern": [
              'A',
              'A',
              'A'
            ],
            "result": {
              "count": 1,
              "item": "railcraft:lead_electrode"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/sheet/copper"
              }
            },
            "pattern": [
              'A',
              'A',
              'A'
            ],
            "result": {
              "count": 1,
              "item": "railcraft:copper_electrode"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/sheet/brass"
              }
            },
            "pattern": [
              'A',
              'A',
              'A'
            ],
            "result": {
              "count": 1,
              "item": "railcraft:brass_electrode"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/sheet/bronze"
              }
            },
            "pattern": [
              'A',
              'A',
              'A'
            ],
            "result": {
              "count": 1,
              "item": "railcraft:bronze_electrode"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/sheet/silver"
              }
            },
            "pattern": [
              'A',
              'A',
              'A'
            ],
            "result": {
              "count": 1,
              "item": "railcraft:silver_electrode"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/sheet/tin"
              }
            },
            "pattern": [
              'A',
              'A',
              'A'
            ],
            "result": {
              "count": 1,
              "item": "railcraft:tin_electrode"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/sheet/gold"
              }
            },
            "pattern": [
              'A',
              'A',
              'A'
            ],
            "result": {
              "count": 1,
              "item": "railcraft:gold_electrode"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/sheet/steel"
              }
            },
            "pattern": [
              'A',
              'A',
              'A'
            ],
            "result": {
              "count": 1,
              "item": "railcraft:steel_electrode"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/sheet/wrought_iron"
              }
            },
            "pattern": [
              'A',
              'A',
              'A'
            ],
            "result": {
              "count": 1,
              "item": "railcraft:iron_electrode"
            }
          }
        )



        //Rails
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/rod/wrought_iron"
              }
            },
            "pattern": [
              'A A',
              'A A',
              'A A'
            ],
            "result": {
              "count": 8,
              "item": "railcraft:standard_rail"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/rod/steel"
              }
            },
            "pattern": [
              'A A',
              'A A',
              'A A'
            ],
            "result": {
              "count": 16,
              "item": "railcraft:standard_rail"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "railcraft:standard_rail"
              },
              "B": {
                "item": "railcraft:wooden_railbed"
              }
            },
            "pattern": [
              'A A',
              'ABA',
              'A A'
            ],
            "result": {
              "count": 32,
              "item": "minecraft:rail"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/rod/steel"
              },
              "B": {
                "item": "minecraft:redstone"
              },
              "C": {
                "item": "tfc:metal/rod/gold"
              }
            },
            "pattern": [
              'ABC',
              'ABC',
              'ABC'
            ],
            "result": {
              "count": 16,
              "item": "railcraft:high_speed_rail"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/rod/steel"
              },
              "B": {
                "tag": "forge:dusts/obsidian"
              }
            },
            "pattern": [
              'ABA',
              'ABA',
              'ABA'
            ],
            "result": {
              "count": 16,
              "item": "railcraft:reinforced_rail"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/rod/copper"
              },
              "B": {
                "item": "minecraft:redstone"
              },
              "C": {
                "item": "railcraft:standard_rail"
              }
            },
            "pattern": [
              'CBA',
              'CBA',
              'CBA'
            ],
            "result": {
              "count": 16,
              "item": "railcraft:electric_rail"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "tfc:metal/rod/steel"
              },
              "C": {
                "item": "tfc:metal/rod/gold"
              }
            },
            "pattern": [
              'AC',
              'AC',
              'AC'
            ],
            "result": {
              "count": 16,
              "item": "railcraft:advanced_rail"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "railcraft:standard_rail"
              },
              "B": {
                "item": "railcraft:wooden_tie"
              }
            },
            "pattern": [
              'A A',
              'ABA',
              'A A'
            ],
            "result": {
              "count": 32,
              "item": "railcraft:abandoned_track"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "railcraft:electric_rail"
              },
              "B": {
                "item": "railcraft:stone_railbed"
              }
            },
            "pattern": [
              'A A',
              'ABA',
              'A A'
            ],
            "result": {
              "count": 32,
              "item": "railcraft:electric_track"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "railcraft:high_speed_rail"
              },
              "B": {
                "item": "railcraft:stone_railbed"
              }
            },
            "pattern": [
              'A A',
              'ABA',
              'A A'
            ],
            "result": {
              "count": 32,
              "item": "railcraft:high_speed_track"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "railcraft:reinforced_rail"
              },
              "B": {
                "item": "railcraft:stone_railbed"
              }
            },
            "pattern": [
              'A A',
              'ABA',
              'A A'
            ],
            "result": {
              "count": 32,
              "item": "railcraft:reinforced_track"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "railcraft:wooden_rail"
              },
              "B": {
                "item": "railcraft:wooden_railbed"
              }
            },
            "pattern": [
              'A A',
              'ABA',
              'A A'
            ],
            "result": {
              "count": 32,
              "item": "railcraft:strap_iron_track"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "railcraft:wooden_rail"
              },
              "B": {
                "item": "railcraft:stone_railbed"
              },
              "C": {
                "item": "railcraft:high_speed_rail"
              }
            },
            "pattern": [
              'CAC',
              'CBC',
              'CAC'
            ],
            "result": {
              "count": 32,
              "item": "railcraft:high_speed_electric_track"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "minecraft:redstone"
              },
              "B": {
                "item": "railcraft:stone_railbed"
              },
              "C": {
                "item": "railcraft:advanced_rail"
              }
            },
            "pattern": [
              'CAC',
              'CBC',
              'CAC'
            ],
            "result": {
              "count": 16,
              "item": "railcraft:elevator_track"
            }
          }
        )

        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "railcraft:standard_rail"
              },
              "B": {
                "item": "railcraft:wooden_tie"
              }
            },
            "pattern": [
              'AAA',
              'AAB',
              'AAA'
            ],
            "result": {
              "count": 16,
              "item": "railcraft:abandoned_wye_track"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "railcraft:standard_rail"
              },
              "B": {
                "item": "railcraft:wooden_tie"
              }
            },
            "pattern": [
              'ABA',
              'AAA',
              'AAA'
            ],
            "result": {
              "count": 16,
              "item": "railcraft:abandoned_turnout_track"
            }
          }
        )
        
        event.custom({
            "type": "railcraft:rolling",
            "key": {
              "A": {
                "item": "railcraft:standard_rail"
              },
              "B": {
                "item": "railcraft:wooden_tie"
              }
            },
            "pattern": [
              'AAA',
              'ABA',
              'AAA'
            ],
            "result": {
              "count": 16,
              "item": "railcraft:abandoned_junction_track"
            }
          }
        )


        event.custom({
          "type": "railcraft:rolling",
          "key": {
            "A": {
              "item": "railcraft:standard_rail"
            },
            "B": {
              "item": "railcraft:wooden_railbed"
            }
          },
          "pattern": [
            'AAA',
            'AAB',
            'AAA'
          ],
          "result": {
            "count": 16,
            "item": "railcraft:iron_wye_track"
          }
        }
      )
      
      event.custom({
          "type": "railcraft:rolling",
          "key": {
            "A": {
              "item": "railcraft:standard_rail"
            },
            "B": {
              "item": "railcraft:wooden_railbed"
            }
          },
          "pattern": [
            'ABA',
            'AAA',
            'AAA'
          ],
          "result": {
            "count": 16,
            "item": "railcraft:iron_turnout_track"
          }
        }
      )
      
      event.custom({
          "type": "railcraft:rolling",
          "key": {
            "A": {
              "item": "railcraft:standard_rail"
            },
            "B": {
              "item": "railcraft:wooden_railbed"
            }
          },
          "pattern": [
            'AAA',
            'ABA',
            'AAA'
          ],
          "result": {
            "count": 16,
            "item": "railcraft:iron_junction_track"
          }
        }
      )

        
event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:wooden_rail"
    },
    "B": {
      "item": "railcraft:wooden_railbed"
    }
  },
  "pattern": [
    'AAA',
    'AAB',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:strap_iron_wye_track"
  }
 }
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:wooden_rail"
    },
    "B": {
      "item": "railcraft:wooden_railbed"
    }
  },
  "pattern": [
    'ABA',
    'AAA',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:strap_iron_turnout_track"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:wooden_rail"
    },
    "B": {
      "item": "railcraft:wooden_railbed"
    }
  },
  "pattern": [
    'AAA',
    'ABA',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:strap_iron_junction_track"
  }
}
)


event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:reinforced_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    }
  },
  "pattern": [
    'AAA',
    'AAB',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:reinforced_wye_track"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:reinforced_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    }
  },
  "pattern": [
    'ABA',
    'AAA',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:reinforced_turnout_track"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:reinforced_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    }
  },
  "pattern": [
    'AAA',
    'ABA',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:reinforced_junction_track"
  }
}
)


event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:electric_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    }
  },
  "pattern": [
    'AAA',
    'AAB',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:electric_wye_track"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:electric_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    }
  },
  "pattern": [
    'ABA',
    'AAA',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:electric_turnout_track"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:electric_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    }
  },
  "pattern": [
    'AAA',
    'ABA',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:electric_junction_track"
  }
}
)


event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:electric_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    },
    "C": {
      "item": "railcraft:high_speed_rail"
    }
  },
  "pattern": [
    'CAC',
    'CCB',
    'CAC'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:high_speed_electric_wye_track"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:electric_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    },
    "C": {
      "item": "railcraft:high_speed_rail"
    }
  },
  "pattern": [
    'CBC',
    'CAC',
    'CAC'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:high_speed_electric_turnout_track"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:electric_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    },
    "C": {
      "item": "railcraft:high_speed_rail"
    }
  },
  "pattern": [
    'CAC',
    'ABA',
    'CAC'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:high_speed_electric_junction_track"
  }
}
)


event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:high_speed_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    }
  },
  "pattern": [
    'AAA',
    'AAB',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:high_speed_wye_track"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:high_speed_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    }
  },
  "pattern": [
    'ABA',
    'AAA',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:high_speed_turnout_track"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "A": {
      "item": "railcraft:high_speed_rail"
    },
    "B": {
      "item": "railcraft:stone_railbed"
    }
  },
  "pattern": [
    'AAA',
    'ABA',
    'AAA'
  ],
  "result": {
    "count": 16,
    "item": "railcraft:high_speed_junction_track"
  }
}
)

event.custom({
  "type": "railcraft:rolling",
  "key": {
    "B": {
      "item": "tfc:metal/ingot/steel"
    },
    "A": {
      "item": "railcraft:turbine_blade"
    }
  },
  "pattern": [
    'AAA',
    'ABA',
    'AAA'
  ],
  "result": {
    "count": 1,
    "item": "railcraft:turbine_disk"
  }
}
)





















      // TFC Forging

  event.custom({

        "type": "tfc:anvil",
        "input": {
          "item": "tfc:metal/ingot/steel"
        },
        "result": {
          "count": 2,
          "item": "railcraft:turbine_blade"
        },
        "tier": 3,
        "rules": [
          "hit_last",
          "hit_second_last",
          "upset_third_last"
        ],
        "apply_forging_bonus": false
      }
  )

  event.custom({

        "type": "tfc:anvil",
        "input": {
          "item": "tfc:metal/ingot/copper"
        },
        "result": {
          "count": 4,
          "item": "railcraft:charge_spool_small"
        },
        "tier": 3,
        "rules": [
          "draw_last",
          "draw_second_last",
          "hit_third_last"
        ],
        "apply_forging_bonus": false
      }
  )

  event.custom({

        "type": "tfc:anvil",
        "input": {
          "item": "tfc:metal/sheet/brass"
        },
        "result": {
          "count": 2,
          "item": "railcraft:bushing_gear"
        },
        "tier": 3,
        "rules": [
          "hit_last",
          "draw_second_last",
          "hit_third_last"
        ],
        "apply_forging_bonus": false
      }
  )





  //Metal Press
  
  event.custom({
    "__comment__": "This file was automatically created by mcresources",
    "type": "immersiveengineering:metal_press",
    "mold": "tfc_ie_addon:mold_block",
    "input": {
      "base_ingredient": {
        "item": "tfc:metal/ingot/steel"
      },
      "count": 9
    },
    "result": {
      "item": "railcraft:steel_block"
    },
    "energy": 4800
  }
)




//BreamHouse
  
event.custom({
  "__comment__": "This file was automatically created by mcresources",
  "type": "advancedtfctech:beamhouse",
  "result": {
    "stack": {
      "item": "kubejs:set_stone_tie"
    },
  },
  "input": {
    "item": "railcraft:stone_tie"
  },
  "fluid": {
    "tag": "tfc:fresh_water",
    "amount": 1000
  },
  "time": 300,
  "energy": 6000
}
)




    //Engineering Workbench  
                
event.custom({
    "type": "immersiveengineering:blueprint",
    "category": "Coils",
    "inputs": [
      {
        "base_ingredient": {
            "item": "railcraft:charge_spool_small"
        },
        "count": 4
      },
      {
        "base_ingredient": {
            "item": "tfc:metal/rod/cast_iron"
        },
        "count": 2
      }
    ],
    "result": {
      "item": "railcraft:charge_coil"
    }
  }
    
) 



event.custom({
  "type": "immersiveengineering:blueprint",
  "category": "components",
  "inputs": [
  {
      "item": "tfc:metal/ingot/brass"
  },
  {
      "item": "tfc:metal/sheet/brass"
  }
  ],
  "result": {
  "count": 2,
  "item": "railcraft:charge_terminal"
  }
}
)



   







})