// priority: 0

ServerEvents.recipes(event => {

    event.remove({ output: 'ae2:quantum_entangled_singularity'})

    event.custom({
        "type": "ae2:transform",
        "circumstance": {
            "type": "explosion"
        },
        "ingredients": [
            {
                "item": "extendedcrafting:ultimate_singularity"
            },
            {
                "tag": "forge:dusts/ender_pearl"
            },
            {
                "item": "megacells:cell_component_256m"
            }
        ],
        "result": {
            "count": 2,
            "item": "ae2:quantum_entangled_singularity"
        }
    })

    event.custom({
        "type": "ae2:transform",
        "circumstance": {
            "type": "explosion"
        },
        "ingredients": [
            {
                "item": "extendedcrafting:ultimate_singularity"
            },
            {
                "tag": "forge:ender_pearls"
            },
            {
                "item": "megacells:cell_component_256m"
            }
        ],
        "result": {
            "count": 2,
            "item": "ae2:quantum_entangled_singularity"
        }
    })

    event.custom({
        "type": "extendedcrafting:shaped_table",
        "pattern": [
            "AABAA",
            "ACCCA",
            "BDEDB",
            "ACCCA",
            "AABAA"
        ],
        "key": {
            "A": {
            "item": "ae2:sky_stone_block"
            },
            "B": {
            "item": "ae2:smooth_sky_stone_block"
            },
            "C": {
            "item": "ae2:singularity"
            },
            "D": {
            "item": "ae2:quantum_entangled_singularity"
            },
            "E": {
            "item": "ae2:controller"
            }
        },
        "result": {
            "item": "kubejs:quantum_entangled_core"
        }
    })
})