onEvent("recipes", (event) => {
  event.custom(
    {
      "type": "extendedcrafting:shaped_table",
      "pattern": [
        "AABAA",
        "ACDCA",
        "BDEDB",
        "ACDCA",
        "AABAA"
      ],
      "key": {
        "A": {
          "item": "mysticalagriculture:tertium_gemstone_block"
        },
        "B": {
          "item": "extendedcrafting:luminessence"
        },
        "C": {
          "item": "extendedcrafting:advanced_catalyst"
        },
        "D": {
          "item": "extendedcrafting:advanced_component"
        },
        "E": {
          "item": "masterfulmachinery:mysticfactory3_controller"
        }
      },
      "result": {
        "item": "masterfulmachinery:mysticfactory4_controller"
      }
    }
  )

  event.custom(
    {
      "type": "extendedcrafting:shaped_ender_crafter",
      "pattern": [
        "ABA",
        "BCB",
        "ABA"
      ],
      "key": {
        "A": {
          "item": "mysticalagriculture:tertium_gemstone_block"
        },
        "B": {
          "item": "extendedcrafting:luminessence"
        },
        "C": {
          "item": "masterfulmachinery:mysticfactory3_mystical_item_port_items_input"
        }
      },
      "result": {
        "item": "masterfulmachinery:mysticfactory4_mystical_item_port_items_input"
      }
    }
  )

  event.custom(
    {
      "type": "extendedcrafting:shaped_ender_crafter",
      "pattern": [
        "ABA",
        "BCB",
        "ABA"
      ],
      "key": {
        "A": {
          "item": "mysticalagriculture:tertium_gemstone_block"
        },
        "B": {
          "item": "extendedcrafting:luminessence"
        },
        "C": {
          "item": "masterfulmachinery:mysticfactory3_mystical_item_port_items_output"
        }
      },
      "result": {
        "item": "masterfulmachinery:mysticfactory4_mystical_item_port_items_output"
      }
    }
  )

  event.custom(
    {
      "type": "extendedcrafting:shaped_ender_crafter",
      "pattern": [
        "ABA",
        "BCB",
        "ABA"
      ],
      "key": {
        "A": {
          "item": "mysticalagriculture:tertium_gemstone_block"
        },
        "B": {
          "item": "extendedcrafting:luminessence"
        },
        "C": {
          "item": "masterfulmachinery:mysticfactory3_mystical_energy_port_energy_input"
        }
      },
      "result": {
        "item": "masterfulmachinery:mysticfactory4_mystical_energy_port_energy_input"
      }
    }
  )

  event.custom(
    {
      "type": "extendedcrafting:shaped_table",
      "pattern": [
        "AABCBAA",
        "ADEFEDA",
        "BEAGAEB",
        "CFGHGFC",
        "BEAGAEB",
        "ADEFEDA",
        "AABCBAA"
      ],
      "key": {
        "A": {
          "item": "mysticalagriculture:imperium_gemstone_block"
        },
        "B": {
          "item": "mekanism:alloy_reinforced"
        },
        "C": {
          "item": "mekanism:ultimate_control_circuit"
        },
        "D": {
          "item": "mekanism:teleportation_core"
        },
        "E": {
          "item": "mekanism:elite_control_circuit"
        },
        "F": {
          "item": "mekanism:alloy_atomic"
        },
        "G": {
          "item": "mekanism:pellet_polonium"
        },
        "H": {
          "item": "masterfulmachinery:mysticfactory4_controller"
        }
      },
      "result": {
        "item": "masterfulmachinery:mysticfactory5_controller"
      }
    }
  )

  event.custom(
    {
      "type": "extendedcrafting:shaped_table",
      "pattern": [
        "ABCBA",
        "BDEDB",
        "CEFEC",
        "BDEDB",
        "ABCBA"
      ],
      "key": {
        "A": {
          "item": "mekanism:ultimate_combining_factory"
        },
        "B": {
          "item": "mysticalagriculture:imperium_gemstone_block"
        },
        "C": {
          "item": "mekanism:alloy_reinforced"
        },
        "D": {
          "item": "mekanism:elite_control_circuit"
        },
        "E": {
          "item": "mekanism:pellet_polonium"
        },
        "F": {
          "item": "masterfulmachinery:mysticfactory4_mystical_item_port_items_input"
        }
      },
      "result": {
        "item": "masterfulmachinery:mysticfactory5_mystical_item_port_items_input"
      }
    }
  )

  event.custom(
    {
      "type": "extendedcrafting:shaped_table",
      "pattern": [
        "ABCBA",
        "BDEDB",
        "CEFEC",
        "BDEDB",
        "ABCBA"
      ],
      "key": {
        "A": {
          "item": "mekanism:ultimate_combining_factory"
        },
        "B": {
          "item": "mysticalagriculture:imperium_gemstone_block"
        },
        "C": {
          "item": "mekanism:alloy_reinforced"
        },
        "D": {
          "item": "mekanism:elite_control_circuit"
        },
        "E": {
          "item": "mekanism:pellet_polonium"
        },
        "F": {
          "item": "masterfulmachinery:mysticfactory4_mystical_item_port_items_output"
        }
      },
      "result": {
        "item": "masterfulmachinery:mysticfactory5_mystical_item_port_items_output"
      }
    }
  )

  event.custom(
    {
      "type": "extendedcrafting:shaped_table",
      "pattern": [
        "ABCBA",
        "BDEDB",
        "CEFEC",
        "BDEDB",
        "ABCBA"
      ],
      "key": {
        "A": {
          "item": "mekanism:ultimate_energy_cube"
        },
        "B": {
          "item": "mysticalagriculture:imperium_gemstone_block"
        },
        "C": {
          "item": "mekanism:alloy_reinforced"
        },
        "D": {
          "item": "mekanism:elite_control_circuit"
        },
        "E": {
          "item": "mekanism:pellet_polonium"
        },
        "F": {
          "item": "masterfulmachinery:mysticfactory4_mystical_energy_port_energy_input"
        }
      },
      "result": {
        "item": "masterfulmachinery:mysticfactory5_mystical_energy_port_energy_input"
      }
    }
  )

  event.custom(
    {
    "type": "extendedcrafting:shaped_table",
    "pattern": [
      "AABAA",
      "ACDCA",
      "EDFDE",
      "GCDCG",
      "GGHGG"
    ],
    "key": {
      "A": {
        "item": "miniutilities:emerald_opinium_core"
      },
      "B": {
        "item": "extendedcrafting:redstone_ingot_block"
      },
      "C": {
        "item": "thermal:rf_coil"
      },
      "D": {
        "item": "thermal:enderium_gear"
      },
      "E": {
        "item": "thermal:flux_drill"
      },
      "F": {
        "item": "miniutilities:mechanical_miner"
      },
      "G": {
        "item": "miniutilities:ender_pearl_block"
      },
      "H": {
        "item": "minecraft:observer"
      }
    },
    "result": {
      "item": "miniutilities:quantum_quarry"
    }
  }
)

  event.custom(
    {
      "type": "extendedcrafting:shaped_table",
      "pattern": [
        "ABCBA",
        "DEFEG",
        "HFIFJ",
        "GEFED",
        "AKLKA"
      ],
      "key": {
        "A": {
          "item": "miniutilities:unstable_ingot"
        },
        "B": {
          "item": "cyclic:charm_home"
        },
        "C": {
          "item": "rftoolsutility:flight_module"
        },
        "D": {
          "item": "mekanism:pellet_polonium"
        },
        "E": {
          "item": "chromasky:ultimatebeer"
        },
        "F": {
          "item": "overloaded:nether_star_block"
        },
        "G": {
          "item": "mysticalagriculture:flight_augment"
        },
        "H": {
          "item": "rats:rat_upgrade_angel"
        },
        "I": {
          "item": "occultism:familiar_ring"
        },
        "J": {
          "item": "rats:rat_upgrade_flight"
        },
        "K": {
          "item": "mekanism:hdpe_elytra"
        },
        "L": {
          "item": "simplyjetpacks:jetpack_mek4"
        }
      },
      "result": {
        "item": "miniutilities:angel_ring"
      }
    }
  )

  event.custom (
    {
      "type": "extendedcrafting:shapeless_table",
      "tier": 4,
      "ingredients": [
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:aluminum\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:blazing\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:bronze\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:castiron\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:coal\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:cobalt\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:copper\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:diamond\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:draconium\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:electrotine\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:electrum\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:emerald\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:enderium\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:energized\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:glowstone\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:invar\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:iron\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:lapis_lazuli\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:lead\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:loran\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:lumium\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:nickel\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:niotic\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:nitro\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:redstone\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:signalum\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:silver\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:spirited\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:starmetal\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:steel\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:tin\"}"
        },
        {
          "type": "forge:nbt",
          "item": "extendedcrafting:singularity",
          "count": 1,
          "nbt": "{Id:\"extendedcrafting:uranium\"}"
        }
      ],
      "result": {
        "item": "extendedcrafting:ultimate_singularity"
      }
    }
  )

});
