ServerEvents.recipes(event => {

    event.remove({ mod: 'endrem' })


    event.custom({
        "type": "eidolon:ritual_brazier_crafting",
        "focusItems": [
            {
                "type": "forge:partial_nbt",
                "item": "minecraft:potion",
                "nbt": "{Potion:\"eidolon:undeath\"}"
            }
        ],
        "healthRequirement": 20.0,
        "keepNbtOfReagent": false,
        "output": {
            "item": "endrem:undead_eye"
        },
        "pedestalItems": [
            {
                "item": "eidolon:death_essence"
            },
            {
                "item": "eidolon:wraith_heart"
            },
            {
                "item": "eidolon:shadow_gem"
            },
            {
                "item": "kubejs:moderate_soul_gem"
            },
            {
                "item": "eidolon:lesser_soul_gem"
            },
            {
                "item": "eidolon:soul_shard"
            }
        ],
        "reagent": [
            {
                "item": "minecraft:fermented_spider_eye"
            }
        ]
    })

    event.custom({
        "type": "botania:elven_trade",
        "ingredients": [
            {
                "item": "brewinandchewin:pizza"
            }
        ],
        "output": [
            {
                "item": "endrem:magical_eye"
            }
        ]
    })

    event.custom({
        "type": "enderio:soul_binding",
        "energy": 76800,
        "entity_type": "minecraft:enderman",
        "exp": 6,
        "input": {
            "item": "minecraft:ender_eye"
        },
        "output": {
            "item": "endrem:rogue_eye"
        }
    })

    event.recipes.create.sequenced_assembly([
        'endrem:old_eye'
    ], 'kubejs:overclocked_clock', [
        event.recipes.createFilling('kubejs:overclocked_clock', ['kubejs:overclocked_clock', Fluid.of('kubejs:liquid_time', 500)])
    ]).transitionalItem('kubejs:overclocked_clock').loops(100)

    event.recipes.create.sequenced_assembly([
        'endrem:cold_eye'
    ], 'minecraft:snowball', [
        event.recipes.createDeploying('minecraft:snowball', ['minecraft:snowball', 'thermal:blizz_rod'])
    ]).transitionalItem('minecraft:snowball',).loops(100)

    event.recipes.create.sequenced_assembly([
        'endrem:evil_eye'
    ], 'ae2:quantum_entangled_singularity', [
        event.recipes.createFilling('ae2:quantum_entangled_singularity', ['ae2:quantum_entangled_singularity', Fluid.of('supplementaries:lumisene', 1000)])
    ]).transitionalItem('ae2:quantum_entangled_singularity',).loops(100)

    event.recipes.create.sequenced_assembly([
        'endrem:cursed_eye'
    ], 'ae2:quantum_entangled_singularity', [
        event.recipes.createFilling('ae2:quantum_entangled_singularity', ['ae2:quantum_entangled_singularity', Fluid.of('create_central_kitchen:dragon_breath', 250)])
    ]).transitionalItem('ae2:quantum_entangled_singularity',).loops(100)

    event.recipes.create.sequenced_assembly([
        'endrem:nether_eye'
    ], 'supplementaries:cannonball', [
        event.recipes.createDeploying('supplementaries:cannonball', ['supplementaries:cannonball', 'kubejs:hot_steel']),
        event.recipes.createFilling('supplementaries:cannonball', ['supplementaries:cannonball', Fluid.of('brewinandchewin:beer', 1000)]),
        event.recipes.createPressing('supplementaries:cannonball', 'supplementaries:cannonball')
    ]).transitionalItem('supplementaries:cannonball',).loops(100)

    event.custom({
        "type": "ae2:transform",
        "circumstance": {
            "type": "explosion"
        },
        "ingredients": [
            {
                "item": "ae2:singularity"
            }
        ],
        "result": {
            "count": 1,
            "item": "endrem:black_eye"
        }
    })
})