ServerEvents.recipes(e=> {
    //红石磁铁
    e.remove({ output:'create_new_age:redstone_magnet'})
    e.custom(
        {
            "type": "create:sequenced_assembly",
            "ingredient": {
              "item": "create_new_age:magnetite_block"
            },
            "loops": 2,
            "results": [
                {
                  "chance": 120.0,
                  "item": "create_new_age:redstone_magnet"
                },
                {
                  "chance": 3.0,
                  "item": "create_new_age:magnetite_block"
                },
                {
                    "chance": 2.0,
                    "item": "minecraft:redstone"
                },
                {
                  "chance": 3.0,
                  "item": "create:andesite_alloy"
                }
               
            ],
            "sequence": [
              {
                "type": "create:filling",
                "ingredients": [
                  {
                    "item": "create_new_age:magnetite_block"
                  },
                  {
                    "amount": 200,
                    "fluid": "nwtc:rose_quartz", 
                    "nbt": {}
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:magnetite_block"
                  }
                ]
              },
              {
                "type": "create:pressing",
                "ingredients": [
                  {
                    "item": "create_new_age:magnetite_block"
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:magnetite_block"
                  }
                ]
              },
              {
                "type": "create:deploying",
                "ingredients": [
                  {
                    "item": "create_new_age:magnetite_block"
                  },
                  {
                    "item": "minecraft:redstone"
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:magnetite_block"
                  }
                ]
              },
              {
                "type": "create_new_age:energising",
                "ingredients": [
                  {
                    "item": "create_new_age:magnetite_block"
                  }
                ],
                "energy_needed": 2000,
                "results": [
                  {
                    "item": "create_new_age:magnetite_block"
                  }
                ]
              },

            ],
            "transitionalItem": {
              "item": "create_new_age:magnetite_block"
            }
          }
    )
    //分层磁铁
    e.remove({ output:'create_new_age:layered_magnet'})
    e.custom(
        {
            "type": "create:sequenced_assembly",
            "ingredient": {
              "item": "create_new_age:redstone_magnet"
            },
            "loops": 2,
            "results": [
                {
                  "chance": 120.0,
                  "item": "create_new_age:layered_magnet"
                },
                {
                  "chance": 3.0,
                  "item": "create_new_age:redstone_magnet"
                },
                {
                    "chance": 2.0,
                    "item": "minecraft:redstone"
                },
                {
                  "chance": 3.0,
                  "item": "create:andesite_alloy"
                }
               
            ],
            "sequence": [
              {
                "type": "create:filling",
                "ingredients": [
                  {
                    "item": "create_new_age:redstone_magnet"
                  },
                  {
                    "amount": 200,
                    "fluid": "nwtc:rose_quartz", 
                    "nbt": {}
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:redstone_magnet"
                  }
                ]
              },
              {
                "type": "create:pressing",
                "ingredients": [
                  {
                    "item": "create_new_age:redstone_magnet"
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:redstone_magnet"
                  }
                ]
              },
              {
                "type": "create:deploying",
                "ingredients": [
                  {
                    "item": "create_new_age:redstone_magnet"
                  },
                  {
                    "item": "create_new_age:overcharged_iron"
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:redstone_magnet"
                  }
                ]
              },
              {
                "type": "create:deploying",
                "ingredients": [
                  {
                    "item": "create_new_age:redstone_magnet"
                  },
                  {
                    "item": "create_new_age:overcharged_golden_sheet"
                  }
                ],
                "results": [
                  {
                    "item": "create_new_age:redstone_magnet"
                  }
                ]
              },

              {
                "type": "create_new_age:energising",
                "ingredients": [
                  {
                    "item": "create_new_age:redstone_magnet"
                  }
                ],
                "energy_needed": 4000,
                "results": [
                  {
                    "item": "create_new_age:redstone_magnet"
                  }
                ]
              },

            ],
            "transitionalItem": {
              "item": "create_new_age:redstone_magnet"
            }
          }
    )





})
