ServerEvents.recipes(event => {







    //Creat New Age
        event.shaped(
            Item.of('create_new_age:reactor_glass', 1), 
            [
            'ABA',
            'BBB',
            'ABA'
            ],
            {
            A: 'create_new_age:reactor_casing',
            B: 'minecraft:glass'
            }
        )
        
        event.shaped(
            Item.of('create_new_age:generator_coil', 1), 
            [
            'ABA',
            'BCB',
            'ABA'
            ],
            {
            A: 'firmalife:metal/double_sheet/stainless_steel',
            B: 'tfc:metal/double_sheet/copper',
            C: 'create:shaft'
            }
        )

        event.shaped(
            Item.of('create_new_age:heat_pump', 1), 
            [
            'ABA'
            ],
            {
            A: 'create_new_age:heat_pipe',
            B: 'tfmg:engine_base'
            }
        )
        
        event.shaped(
            Item.of('create_new_age:heat_pipe', 4), 
            [
            'ABA',
            'BCB'
            ],
            {
            A: 'tfc:metal/rod/zinc',
            B: 'minecraft:terracotta',
            C: 'tfc:metal/sheet/copper'
            }
        )
        
        event.shaped(
            Item.of('create_new_age:energiser_t3', 1), 
            [
            'ABA',
            'CDC',
            ' E '
            ],
            {
            A: 'create_new_age:overcharged_diamond',
            B: 'create_new_age:energiser_t2',
            C: 'tfc:gem/diamond',
            D: 'tfc:metal/double_ingot/copper',
            E: 'minecraft:diamond_block'
            }
        )
        
        event.shaped(
            Item.of('create_new_age:basic_motor', 1), 
            [
            'AAA',
            'BCD',
            'AAA'
            ],
            {
            A: 'firmalife:metal/sheet/stainless_steel',
            B: 'create_new_age:magnetite_block',
            C: 'create:andesite_casing',
            D: 'create:shaft'
            }
        )
        
        event.shaped(
            Item.of('create_new_age:basic_motor_extension', 1), 
            [
            'AAA',
            'BCC',
            'AAA'
            ],
            {
            A: 'create_new_age:overcharged_iron',
            B: 'create_new_age:basic_motor',
            C: 'pneumaticcraft:printed_circuit_board'
            }
        )
        
        event.shaped(
            Item.of('create_new_age:heater', 1), 
            [
            'AAA',
            'BCB',
            'DED'
            ],
            {
            A: 'tfc:metal/double_sheet/copper',
            B: 'firmalife:metal/sheet/stainless_steel',
            C: 'railcraft:fluid_fueled_firebox',
            D: 'create_new_age:heat_pipe',
            E: 'create_new_age:overcharged_iron'
            }
        )
        
        event.shaped(
            Item.of('create_new_age:basic_solar_heating_plate', 1), 
            [
            'AAA',
            'BCB',
            'BDB'
            ],
            {
            A: 'ae2:quartz_glass',
            B: 'create_new_age:overcharged_iron',
            C: 'tfc:metal/double_sheet/copper',
            D: 'create_new_age:heat_pipe'
            }
        )
        
        event.shaped(
            Item.of('create_new_age:advanced_solar_heating_plate', 1), 
            [
            'AAA',
            'BBB',
            'CDC'
            ],
            {
            A: 'create_new_age:reactor_glass',
            B: 'tfc:metal/double_sheet/red_steel',
            C: 'create_new_age:overcharged_iron',
            D: 'create_new_age:basic_solar_heating_plate'
            }
        )
        
        event.shaped(
            Item.of('create_new_age:carbon_brushes', 1), 
            [
            'ABA',
            'BCB',
            'ABA'
            ],
            {
            A: 'tfc:metal/rod/black_steel',
            B: 'kubejs:graphite_block',
            C: 'create_new_age:basic_motor'
            }
        )
        
        event.shaped(
            Item.of('create_new_age:stirling_engine', 1), 
            [
            'DAD',
            'BCB'
            ],
            {
            A: 'create:shaft',
            B: 'create_new_age:heat_pipe',
            C: 'tfc:metal/double_ingot/copper',
            D: 'firmalife:metal/ingot/stainless_steel'
            }
        )
        
        event.shaped(
            Item.of('create_new_age:advanced_motor', 1), 
            [
            'AAA',
            'BCD',
            'AAA'
            ],
            {
            A: 'tfc:metal/ingot/gold',
            B: 'create_new_age:overcharged_iron',
            C: 'create:brass_casing',
            D: 'create:shaft'
            }
        )

        
        event.shaped(
            Item.of('create_new_age:layered_magnet', 1), 
            [
            'AAA',
            'BCB',
            'AAA'
            ],
            {
            A: 'create_new_age:overcharged_iron',
            B: 'create_new_age:overcharged_gold',
            C: 'create_new_age:redstone_magnet'
            }
        )

        
        event.shaped(
            Item.of('create_new_age:fluxuated_magnetite', 1), 
            [
            'ABA',
            'BCB',
            'ABA'
            ],
            {
            A: 'create_new_age:overcharged_gold',
            B: 'create_new_age:overcharged_diamond',
            C: 'create_new_age:layered_magnet'
            }
        )




        //Energizing
        event.custom({
            "type": "create_new_age:energising",
            "energy_needed": 25000,
            "ingredients": [
              {
                "item": "firmalife:metal/ingot/stainless_steel"
              }
            ],
            "results": [
              {
                "item": "create_new_age:overcharged_iron"
              }
            ]
          }
          
        ) 
        
        event.custom({
            "type": "create_new_age:energising",
            "energy_needed": 50000,
            "ingredients": [
              {
                "item": "tfc:metal/ingot/gold"
              }
            ],
            "results": [
              {
                "item": "create_new_age:overcharged_gold"
              }
            ]
          }
          
        ) 

        event.custom({
            "type": "create_new_age:energising",
            "energy_needed": 100000,
            "ingredients": [
              {
                "item": "tfc:gem/diamond"
              }
            ],
            "results": [
              {
                "item": "create_new_age:overcharged_diamond"
              }
            ]
          }
          
        )


        //Mechanical Crafter

        event.custom({
            "type": "create:mechanical_crafting",
            "acceptMirrored": true,
            "key": {
              "d": {
                "item": "tfc:gem/diamond"
              },
              "D": {
                "item": "create_new_age:overcharged_diamond"
              },
              "R": {
                "item": "minecraft:redstone_block"
              },
              "S": {
                "item": "create:shaft"
              },
              "c": {
                "item": "create:brass_casing"
              },
              "I": {
                "item": "firmalife:metal/sheet/stainless_steel"
              }
            },
            "pattern": [
              "dDIId",
              "DcRSS",
              "dDIId"
            ],
            "result": {
              "count": 2,
              "item": "create_new_age:reinforced_motor"
            }
          }
   
        )


        event.custom({
            "type": "create:mechanical_crafting",
            "acceptMirrored": true,
            "key": {
              "D": {
                "item": "create_new_age:overcharged_diamond"
              },
              "#": {
                "item": "create_new_age:reinforced_motor"
              },
              ".": {
                "item": "pneumaticcraft:printed_circuit_board"
              },
              "I": {
                "item": "create_new_age:overcharged_iron_sheet"
              }
            },
            "pattern": [
              "IIIII",
              "D.#.D",
              "IIIII"
            ],
            "result": {
              "count": 2,
              "item": "create_new_age:advanced_motor_extension"
            }
          }
          
          
        )


        event.custom({
            "type": "create:mechanical_crafting",
            "acceptMirrored": true,
            "key": {
              "A": {
                "item": "tfc:metal/sheet/gold"
              },
              "F": {
                "item": "create_new_age:nuclear_fuel"
              },
              "C": {
                "item": "create_new_age:reactor_casing"
              },
              "G": {
                "item": "create_new_age:reactor_glass"
              }
            },
            "pattern": [
              "CAAAC",
              " GFG ",
              " GFG ",
              "CAAAC"
            ],
            "result": {
              "count": 2,
              "item": "create_new_age:reactor_rod"
            }
          }
          
          
          
        )



        

        //Sequenced Assembly
        event.custom({
            "type": "create:sequenced_assembly",
            "ingredient": {
              "item": "tfc:fire_bricks"
            },
            "loops": 1,
            "results": [
              {
                "count": 2,
                "item": "create_new_age:reactor_casing"
              }
            ],
            "sequence": [
              {
                "type": "create_new_age:energising",
                "energy_needed": 50000,
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ]
              },
              {
                "type": "create:deploying",
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  },
                  [
                    {
                      "item": "tfc_ie_addon:metal/sheet/lead"
                    }
                  ]
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ]
              },
              {
                "type": "create:deploying",
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  },
                  [
                    {
                      "item": "tfc_ie_addon:metal/sheet/lead"
                    }
                  ]
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ]
              },
              {
                "type": "create:deploying",
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  },
                  [
                    {
                      "item": "tfc_ie_addon:metal/sheet/lead"
                    }
                  ]
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ]
              },
              {
                "type": "create:deploying",
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  },
                  [
                    {
                      "item": "tfc_ie_addon:metal/sheet/lead"
                    }
                  ]
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ]
              },
              {
                "type": "create:pressing",
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ]
              }
            ],
            "transitionalItem": {
              "item": "create_new_age:incomplete_casing"
            }
          }
          
          
        )



        event.custom({
            "type": "create:sequenced_assembly",
            "ingredient": {
              "item": "immersiveengineering:concrete_leaded"
            },
            "loops": 3,
            "results": [
              {
                "count": 1,
                "item": "create_new_age:reactor_casing"
              }
            ],
            "sequence": [
              {
                "type": "create_new_age:energising",
                "energy_needed": 50000,
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ]
              },
              {
                "type": "create:deploying",
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  },
                  [
                    {
                      "item": "firmalife:metal/sheet/stainless_steel"
                    }
                  ]
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ]
              },
              {
                "type": "create:pressing",
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_casing"
                  }
                ]
              }
            ],
            "transitionalItem": {
              "item": "create_new_age:incomplete_casing"
            }
          }
          
          
        )


        event.custom({
            "type": "create:sequenced_assembly",
            "ingredient": {
              "item": "tfc_ie_addon:metal/double_ingot/uranium"
            },
            "loops": 8,
            "results": [
              {
                "item": "create_new_age:nuclear_fuel"
              }
            ],
            "sequence": [
              {
                "type": "create:pressing",
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_fuel"
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_fuel"
                  }
                ]
              },
              {
                "type": "create:deploying",
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_fuel"
                  },
                  [
                    {
                      "item": "firmalife:metal/double_sheet/stainless_steel"
                    }
                  ]
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_fuel"
                  }
                ]
              },
              {
                "type": "create:pressing",
                "ingredients": [
                  {
                    "item": "create_new_age:incomplete_fuel"
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:incomplete_fuel"
                  }
                ]
              }
            ],
            "transitionalItem": {
              "item": "create_new_age:incomplete_fuel"
            }
          }
          
          
        )



        //Pressure Chamber
        event.custom({
            "type": "pneumaticcraft:pressure_chamber",
            "inputs": [
              {
                "type": "pneumaticcraft:stacked_item",
                "count": 9,
                "item": "tfc:ore/rich_magnetite"
              },
              {
                "type": "pneumaticcraft:stacked_item",
                "count": 3,
                "item": "tfc:powder/flux"
              }
            ],
            "pressure": 4.0,
            "results": [
              {
                "item": "create_new_age:magnetite_block",
                "count": 1
              }
            ]
          }
        )




        //Arc Furnace

        event.custom({
            "type": "immersiveengineering:arc_furnace",
            "results": [
                {
                "item": "create_new_age:redstone_magnet"
                }
            ],
            "secondaries": [
                {
                "chance": 0.75,
                "count": 6,
                "conditions": [],
                "output": {
                    "item": "immersiveengineering:slag"
                }
                }
            ],
            "additives": [
              {
                "count": 32,
                "base_ingredient": {
                  "item": "minecraft:redstone"
                }
              },
              {
                "count": 8,
                "base_ingredient": {
                  "item": "tfc:powder/flux"
                }
              }
            ],
            "input": {
              "count": 1,
              "base_ingredient": {
                "item": "create_new_age:magnetite_block"
              }
            },
            "time": 1200,
            "energy": 512000
          }
        )




        //Mixing
        event.custom({
            "type": "create:mixing",
            "ingredients": [
              {
                "item": "create_new_age:solid_corium",
                "count": 1
              },
              {
                "item": "create_new_age:fluxuated_magnetite",
                "count": 4
              },{
                "item": "create_new_age:overcharged_diamond",
                "count": 4
              }
            ],
            "results": [
              {
                "item": "create_new_age:netherite_magnet",
                "count": 1
              }
            ],
            "heatRequirement": "superheated"
          }
        )




})