ServerEvents.recipes(event => {

    event.shapeless(Item.of('mekanism:pellet_antimatter', 9), [
      'kubejs:antimatter_block'
    ])

    event.shapeless('mekanism:mekasuit_boots', [
      'kubejs:mekasuit_left_boot',
      'kubejs:mekasuit_right_boot'
    ])

    event.shaped('mekanism:mekasuit_helmet', [
      'ABA',
      'ACA',
      'DED'
    ], {
      A:'mekanism:hdpe_sheet',
      B:'mekanism:ultimate_control_circuit',
      C:'projecte:gem_helmet',
      D:'mekanism:pellet_polonium',
      E:'mekanism:basic_induction_cell',
    })

    event.shaped('mekanism:mekasuit_bodyarmor', [
      'ABA',
      'ACA',
      'DED'
    ], {
      A:'mekanism:hdpe_sheet',
      B:'mekanism:ultimate_control_circuit',
      C:'projecte:gem_chestplate',
      D:'mekanism:pellet_polonium',
      E:'mekanism:basic_induction_cell',
    })

    event.shaped('mekanism:mekasuit_pants', [
      'ABA',
      'ACA',
      'DED'
    ], {
      A:'mekanism:hdpe_sheet',
      B:'mekanism:ultimate_control_circuit',
      C:'projecte:gem_leggings',
      D:'mekanism:pellet_polonium',
      E:'mekanism:basic_induction_cell',
    })

    event.shaped('mekanism:mekasuit_boots', [
      'ABA',
      'ACA',
      'DED'
    ], {
      A:'mekanism:hdpe_sheet',
      B:'mekanism:ultimate_control_circuit',
      C:'projecte:gem_boots',
      D:'mekanism:pellet_polonium',
      E:'mekanism:basic_induction_cell',
    })

    event.custom({
      type: 'mekanism:oxidizing',
      input: {
        ingredient: {
          item: 'kubejs:antimatter_block'
        }
      },
      output: {
        gas: 'mekanism:antimatter',
        amount: 9000
      }
    })

    event.custom({
        type: "extendedcrafting:shaped_table",
        pattern: [
            "ABBCDCBBA",
            "BBEFFFEBB",
            "BEFFGFFEB",
            "CFFHIHFFC",
            "DFJIKIJFD",
            "CFFHIHFFC",
            "BEFFGFFEB",
            "BBEFFFEBB",
            "ABBCDCBBA"
        ],
        key: {
            A: { item: "extendedcrafting:ultimate_singularity" },
            B: { item: 'avaritia:infinity' },
            C: { item: "mekanism:teleportation_core" },
            D: { item: "mekanism:pellet_antimatter" },
            E: { item: "mekanism_extras:infinite_control_circuit" },
            F: { item: "kubejs:creative_ingot" },
            G: { item: "mekanism_extras:infinite_induction_cell" },
            H: { item: "kubejs:creative_block" },
            I: { item: "mekanism_extras:infinite_energy_cube" },
            J: { item: "mekanism_extras:infinite_induction_provider" },
            K: { item: "projectexpansion:final_star" }
        },
        result: Item.of("mekanism:creative_energy_cube", {
            mekData: {
            componentConfig: {
                config0: {
                side0: 1,
                side1: 1,
                side2: 1,
                side3: 1,
                side4: 1,
                side5: 1
                }
            }
            }
        }).toJson()
        })

    event.custom({
        type: 'powah:energizing',
        ingredients: [
            { item: 'projectexpansion:final_star' },
            Item.of(
            'mekanism:creative_energy_cube',
            {
                mekData: {
                componentConfig: {
                    config0: {
                    side0: 1.0,
                    side1: 1.0,
                    side2: 1.0,
                    side3: 1.0,
                    side4: 1.0,
                    side5: 1.0
                    }
                }
                }
            }
            ).toJson()
        ],
        energy: 10000000000,
        result: Item.of(
            'mekanism:creative_energy_cube',
            {
            mekData: {
                EnergyContainers: [
                {
                    Container: 0,
                    stored: "18446744073709551615.9999"
                }
                ],
                componentConfig: {
                config0: {
                    side0: 4,
                    side1: 4,
                    side2: 4,
                    side3: 4,
                    side4: 4,
                    side5: 4
                }
                }
            }
            }
        ).toJson()
        })

    event.custom({
        "type": "extendedcrafting:shaped_table",
        "pattern": [
            "ABCDEDCBA",
            "BCDFFFDCB",
            "CDGGHGGDC",
            "DFGHIHGFD",
            "EFHIJIHFE",
            "DFGHIHGFD",
            "CDGGHGGDC",
            "BCDFFFDCB",
            "ABCDEDCBA"
        ],
        "key": {
            "A": {
            "item": "extendedcrafting:ultimate_singularity"
            },
            "B": {
            "item": "kubejs:creative_block"
            },
            "C": {
            "item": "kubejs:creative_ingot"
            },
            "D": {
            "item": "mekanism_extras:infinite_control_circuit"
            },
            "E": {
            "item": "extendedcrafting:the_ultimate_catalyst"
            },
            "F": {
            "item": "mekanism_extras:supreme_chemical_tank"
            },
            "G": {
            "item": "mekanism:pellet_antimatter"
            },
            "H": {
            "item": "mekanism_extras:cosmic_chemical_tank"
            },
            "I": {
            "item": "mekanism_extras:infinite_chemical_tank"
            },
            "J": {
            "item": "projectexpansion:final_star"
            }
        },
        "result": {
            "item": 'mekanism:creative_chemical_tank'
        }
        })

    event.custom({
        "type": "extendedcrafting:shaped_table",
        "pattern": [
            "ABCDEDCBA",
            "BCDFFFDCB",
            "CDGGHGGDC",
            "DFGHIHGFD",
            "EFHIJIHFE",
            "DFGHIHGFD",
            "CDGGHGGDC",
            "BCDFFFDCB",
            "ABCDEDCBA"
        ],
        "key": {
            "A": {
            "item": "extendedcrafting:ultimate_singularity"
            },
            "B": {
            "item": "kubejs:creative_block"
            },
            "C": {
            "item": "kubejs:creative_ingot"
            },
            "D": {
            "item": "mekanism_extras:infinite_control_circuit"
            },
            "E": {
            "item": "extendedcrafting:the_ultimate_catalyst"
            },
            "F": {
            "item": "mekanism_extras:supreme_fluid_tank"
            },
            "G": {
            "item": "mekanism:pellet_antimatter"
            },
            "H": {
            "item": "mekanism_extras:cosmic_fluid_tank"
            },
            "I": {
            "item": "mekanism_extras:infinite_fluid_tank"
            },
            "J": {
            "item": "projectexpansion:final_star"
            }
        },
        "result": {
            "item": 'mekanism:creative_fluid_tank'
        }
        })

    event.custom({
        "type": "extendedcrafting:shaped_table",
        "pattern": [
            "         ",
            "         ",
            "  ABCBD  ",
            "  BEFEB  ",
            "  CGHIC  ",
            "  BEJEB  ",
            "  KBCBL  ",
            "         ",
            "         "
        ],
        "key": {
            "A": {
            "item": "mekanism:upgrade_gas"
            },
            "B": {
            "item": "kubejs:creative_block"
            },
            "C": {
            "item": "avaritia:infinity"
            },
            "D": {
            "item": "mekanism:upgrade_anchor"
            },
            "E": {
            "item": "mekanism:pellet_antimatter"
            },
            "F": {
            "item": "mekanism:upgrade_speed"
            },
            "G": {
            "item": "mekanism:upgrade_energy"
            },
            "H": {
            "item": "projectexpansion:final_star"
            },
            "I": {
            "item": "mekanism:upgrade_muffling"
            },
            "J": {
            "item": "mekanism:upgrade_filter"
            },
            "K": {
            "item": "mekanism_extras:upgrade_stack"
            },
            "L": {
            "item": "mekanism_extras:upgrade_ionic_membrane"
            }
        },
        "result": {
            "item": 'mekanism_extras:upgrade_creative'
        }
        })
})