onEvent('recipes', (event) => {

    const id_prefix = 'occultism:kubejs/ritual';

    const recipes = [
        {
            ritual_type: 'occultism:summon_spirit_with_job',
            activation_item: 'occultism:book_of_binding_bound_foliot',
            pentacle_id: 'occultism:summon_foliot',
            duration: 90,
            spirit_max_age: -1,
            spirit_job_type: 'occultism:crush_tier1',
            entity_to_summon: 'occultism:foliot',
            ritual_dummy: 'occultism:ritual_dummy/summon_foliot_crusher',
            ingredients: [
                '#create:crushed_ores',
                'thermal:earth_charge',
                'bloodmagic:destructivecrystal',
                'bloodmagic:destructivecrystal',
                'atum:quern'
            ],
            result: 'occultism:jei_dummy/none',
            id: 'occultism:ritual/summon_foliot_crusher'
        },
        {
            ritual_type: 'occultism:summon_spirit_with_job',
            activation_item: 'occultism:book_of_binding_bound_djinni',
            pentacle_id: 'occultism:summon_djinni',
            duration: 120,
            spirit_max_age: -1,
            spirit_job_type: 'occultism:crush_tier2',
            entity_to_summon: 'occultism:djinni',
            ritual_dummy: 'occultism:ritual_dummy/summon_djinni_crusher',
            ingredients: [
                '#create:crushed_ores',
                'mininggadgets:upgrade_fortune_1',
                'thermal:netherite_dust',
                'thermal:netherite_dust',
                {
                    item: 'astralsorcery:attuned_rock_crystal',
                    type: 'nbt_ingredient_predicate:nbt_includes',
                    nbt: {
                        astralsorcery: {
                            constellationName: 'astralsorcery:evorsio' 
                        }
                    }
                },
                'kubejs:otherworld_plantoil_bucket'
            ],
            result: 'occultism:jei_dummy/none',
            id: 'occultism:ritual/summon_djinni_crusher'
        },
        {
            ritual_type: 'occultism:summon_spirit_with_job',
            activation_item: 'occultism:book_of_binding_bound_afrit',
            pentacle_id: 'occultism:summon_afrit',
            duration: 180,
            spirit_max_age: -1,
            spirit_job_type: 'occultism:crush_tier3',
            entity_to_summon: 'occultism:afrit',
            ritual_dummy: 'occultism:ritual_dummy/summon_afrit_crusher',
            ingredients: [
                '#create:crushed_ores',
                'mininggadgets:upgrade_fortune_2',
                'occultism:iesnium_dust',
                'occultism:iesnium_dust',
                {
                    item: 'astralsorcery:attuned_celestial_crystal',
                    type: 'nbt_ingredient_predicate:nbt_includes',
                    nbt: {
                        astralsorcery: {
                            constellationName: 'astralsorcery:evorsio' 
                        }
                    }
                },
                'immersivepetroleum:lubricant_bucket',
                '#forge:dusts/chromium',
                '#forge:dusts/chromium'
            ],
            result: 'occultism:jei_dummy/none',
            id: 'occultism:ritual/summon_afrit_crusher'
        },
        {
            ritual_type: 'occultism:summon_spirit_with_job',
            activation_item: 'occultism:book_of_binding_bound_marid',
            pentacle_id: 'occultism:summon_marid',
            duration: 300,
            spirit_max_age: -1,
            spirit_job_type: 'occultism:crush_tier4',
            entity_to_summon: 'occultism:marid',
            ritual_dummy: 'occultism:ritual_dummy/summon_marid_crusher',
            ingredients: [
                '#create:crushed_ores',
                'mininggadgets:upgrade_fortune_3',
                'astralsorcery:starmetal',
                'emendatusenigmatica:dimensional_block',
                'astralsorcery:shifting_star_evorsio',
                'draconicevolution:dragon_heart',
                '#forge:gears/stainless_steel',
                '#forge:gears/stainless_steel',
                'emendatusenigmatica:iesnium_crystal',
                'emendatusenigmatica:iesnium_crystal',
                'emendatusenigmatica:iesnium_crystal',
                'emendatusenigmatica:iesnium_crystal'
            ],
            result: 'occultism:jei_dummy/none',
            id: 'occultism:ritual/summon_marid_crusher'
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'create:crafting_blueprint',
            pentacle_id: 'occultism:craft_foliot',
            duration: 60,
            ritual_dummy: Item.of('immersiveengineering:blueprint', '{blueprint:"components"}'),
            ingredients: [
                'immersiveengineering:sheetmetal_copper',
                'immersiveengineering:sheetmetal_aluminum',
                'kubejs:inductive_mechanism',
                'immersiveengineering:sheetmetal_iron',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern'
            ],
            result: Item.of('immersiveengineering:blueprint', '{blueprint:"components"}'),
            id: `${id_prefix}/blueprint_components`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'create:crafting_blueprint',
            pentacle_id: 'occultism:craft_foliot',
            duration: 60,
            ritual_dummy: Item.of('immersiveengineering:blueprint', '{blueprint:"molds"}'),
            ingredients: [
                'kubejs:punch',
                'immersiveengineering:component_steel',
                'bloodmagic:reagentsuppression',
                'immersiveengineering:component_steel',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern'
            ],
            result: Item.of('immersiveengineering:blueprint', '{blueprint:"molds"}'),
            id: `${id_prefix}/blueprint_molds`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'create:crafting_blueprint',
            pentacle_id: 'occultism:craft_foliot',
            duration: 60,
            ritual_dummy: Item.of('immersiveengineering:blueprint', '{blueprint:"electrode"}'),
            ingredients: [
                'atum:godforged_block',
                'immersiveengineering:component_steel',
                'bloodmagic:reagentfastminer',
                'immersiveengineering:component_steel',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern'
            ],
            result: Item.of('immersiveengineering:blueprint', '{blueprint:"electrode"}'),
            id: `${id_prefix}/blueprint_artifacts`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'create:crafting_blueprint',
            pentacle_id: 'occultism:craft_foliot',
            duration: 60,
            ritual_dummy: Item.of('immersiveengineering:blueprint', '{blueprint:"specialBullet"}'),
            ingredients: [
                Item.of('atum:anputs_grounding').ignoreNBT(),
                Item.of('atum:montus_blast').ignoreNBT(),
                Item.of('atum:seths_venom').ignoreNBT(),
                Item.of('atum:tefnuts_rain').ignoreNBT(),
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern',
                'tconstruct:pattern'
            ],
            result: Item.of('immersiveengineering:blueprint', '{blueprint:"specialBullet"}'),
            id: `${id_prefix}/blueprint_special_bullet`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'kubejs:well_shell',
            pentacle_id: 'occultism:craft_foliot',
            duration: 60,
            ritual_dummy: 'astralsorcery:well',
            ingredients: [
                'astralsorcery:aquamarine',
                'astralsorcery:aquamarine',
                'astralsorcery:aquamarine',
                'astralsorcery:aquamarine',
                'kubejs:living_ceramic_black',
                'astralsorcery:rock_crystal',
                'create:item_drain',
                'bloodmagic:reagentwater'
            ],
            result: 'astralsorcery:well',
            id: `${id_prefix}/well`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: Item.of('tconstruct:large_plate', '{Material:"tconstruct:electrum"}'),
            pentacle_id: 'occultism:craft_djinni',
            duration: 60,
            ritual_dummy: 'miniutilities:reinforced_large_drum',
            ingredients: [
                'mob_grinding_utils:jumbo_tank',
                'mob_grinding_utils:jumbo_tank',
                'mob_grinding_utils:jumbo_tank',
                'mob_grinding_utils:jumbo_tank',
                'immersiveengineering:sheetmetal_aluminum',
                'occultism:iesnium_ingot',
                'immersiveengineering:sheetmetal_aluminum',
                'occultism:iesnium_ingot',
                'immersiveengineering:sheetmetal_aluminum',
                'occultism:iesnium_ingot',
                'immersiveengineering:sheetmetal_aluminum',
                'occultism:iesnium_ingot'
            ],
            result: 'miniutilities:reinforced_large_drum',
            id: `${id_prefix}/reinforced_large_drum`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'occultism:book_of_binding_bound_foliot',
            pentacle_id: 'occultism:craft_foliot',
            duration: 30,
            ritual_dummy: 'occultism:ritual_dummy/craft_stabilizer_tier1',
            ingredients: [
                'occultism:otherstone_slab',
                'occultism:spirit_attuned_gem',
                'storagedrawers:gold_storage_upgrade',
                'occultism:spirit_attuned_gem',
                'emendatusenigmatica:bronze_rod',
                'immersiveengineering:dust_hop_graphite',
                'emendatusenigmatica:bronze_rod',
                'immersiveengineering:dust_hop_graphite',
                'emendatusenigmatica:bronze_rod',
                'immersiveengineering:dust_hop_graphite',
                'emendatusenigmatica:bronze_rod',
                'immersiveengineering:dust_hop_graphite'
            ],
            result: 'occultism:storage_stabilizer_tier1',
            id: 'occultism:ritual/craft_stabilizer_tier1'
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'occultism:book_of_binding_bound_djinni',
            pentacle_id: 'occultism:craft_djinni',
            duration: 60,
            ritual_dummy: 'occultism:ritual_dummy/craft_stabilizer_tier2',
            ingredients: [
                'occultism:storage_stabilizer_tier1',
                'occultism:spirit_attuned_gem',
                'astralsorcery:celestial_crystal',
                'occultism:spirit_attuned_gem',
                'emendatusenigmatica:aluminum_rod',
                'occultism:iesnium_dust',
                'emendatusenigmatica:aluminum_rod',
                'occultism:iesnium_dust',
                'emendatusenigmatica:aluminum_rod',
                'occultism:iesnium_dust',
                'emendatusenigmatica:aluminum_rod',
                'occultism:iesnium_dust'
            ],
            result: 'occultism:storage_stabilizer_tier2',
            id: 'occultism:ritual/craft_stabilizer_tier2'
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'occultism:book_of_binding_bound_afrit',
            pentacle_id: 'occultism:craft_afrit',
            duration: 120,
            ritual_dummy: 'occultism:ritual_dummy/craft_stabilizer_tier3',
            ingredients: [
                'occultism:storage_stabilizer_tier2',
                'occultism:spirit_attuned_crystal',
                'minecraft:shulker_shell',
                'occultism:spirit_attuned_crystal',
                'emendatusenigmatica:lumium_rod',
                '#forge:dusts/titanium',
                'emendatusenigmatica:lumium_rod',
                '#forge:dusts/chromium',
                'emendatusenigmatica:lumium_rod',
                '#forge:dusts/chromium',
                'emendatusenigmatica:lumium_rod',
                '#forge:dusts/titanium'
            ],
            result: 'occultism:storage_stabilizer_tier3',
            id: 'occultism:ritual/craft_stabilizer_tier3'
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'occultism:book_of_binding_bound_marid',
            pentacle_id: 'occultism:craft_marid',
            duration: 240,
            ritual_dummy: 'occultism:ritual_dummy/craft_stabilizer_tier4',
            ingredients: [
                'occultism:storage_stabilizer_tier3',
                'occultism:spirit_attuned_crystal',
                'astralsorcery:shifting_star_vicio',
                'occultism:spirit_attuned_crystal',
                '#forge:rods/stainless_steel',
                '#forge:gems/dimensional',
                '#forge:rods/stainless_steel',
                '#forge:gems/dimensional',
                '#forge:rods/stainless_steel',
                '#forge:gems/dimensional',
                '#forge:rods/stainless_steel',
                '#forge:gems/dimensional'
            ],
            result: 'occultism:storage_stabilizer_tier4',
            id: 'occultism:ritual/craft_stabilizer_tier4'
        },
        {
            ritual_type: 'occultism:summon_wild_hunt',
            activation_item: 'minecraft:skeleton_skull',
            pentacle_id: 'occultism:summon_wild_greater_spirit',
            duration: 30,
            entity_to_sacrifice: {
                tag: 'occultism:humans',
                display_name: 'ritual.occultism.sacrifice.humans'
            },
            entity_to_summon: 'occultism:wild_hunt_wither_skeleton',
            ritual_dummy: 'occultism:ritual_dummy/summon_wild_hunt',
            ingredients: [
                'emendatusenigmatica:electrum_block',
                'tconstruct:necrotic_bone',
                'emendatusenigmatica:constantan_block',
                Item.of('minecraft:netherite_sword').ignoreNBT(),
                'atum:nuit_godshard',
                'atum:anput_godshard'
            ],
            result: 'occultism:ritual_dummy/summon_wild_hunt',
            id: 'occultism:ritual/summon_wild_hunt'
        },
        {
            ritual_type: 'occultism:summon',
            activation_item: 'occultism:book_of_binding_bound_djinni',
            pentacle_id: 'occultism:possess_djinni',
            duration: 90,
            entity_to_sacrifice: {
                tag: 'occultism:wild_hunt_wither_skeletons',
                display_name: 'ritual.occultism.sacrifice.wild_hunt_wither_skeletons'
            },
            entity_to_summon: 'minecraft:wither',
            ritual_dummy: 'kubejs:summon_wither',
            ingredients: [
                'minecraft:wither_skeleton_skull',
                'minecraft:wither_skeleton_skull',
                'kubejs:wither_bones',
                'minecraft:wither_skeleton_skull',
                'astralsorcery:nocturnal_powder',
                'tconstruct:soulsteel_block',
                'astralsorcery:nocturnal_powder',
                'bloodmagic:reagentvoid',
                'astralsorcery:nocturnal_powder',
                'bloodmagic:reagentvoid',
                'astralsorcery:nocturnal_powder',
                'tconstruct:soulsteel_block'
            ],
            result: 'occultism:jei_dummy/none',
            id: `${id_prefix}/summon_wither`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'kubejs:inert_tiab',
            pentacle_id: 'occultism:craft_djinni',
            duration: 240,
            ritual_dummy: 'tiab:timeinabottle',
            ingredients: [
                '#forge:gears/holy',
                {
                    item: 'astralsorcery:attuned_rock_crystal',
                    type: 'nbt_ingredient_predicate:nbt_includes',
                    nbt: {
                        astralsorcery: {
                            constellationName: 'astralsorcery:horologium' 
                        }
                    }
                },
                'industrialforegoing:ether_gas_bucket',
                {
                    item: 'astralsorcery:attuned_rock_crystal',
                    type: 'nbt_ingredient_predicate:nbt_includes',
                    nbt: {
                        astralsorcery: {
                            constellationName: 'astralsorcery:horologium' 
                        }
                    }
                },
                'create:refined_radiance',
                'bloodmagic:mundanelengtheningcatalyst',
                'bloodmagic:accelerationrune',
                'bloodmagic:mundanelengtheningcatalyst',
                'create:refined_radiance',
                'bloodmagic:mundanelengtheningcatalyst',
                'bloodmagic:accelerationrune',
                'bloodmagic:mundanelengtheningcatalyst'
            ],
            result: 'tiab:timeinabottle',
            id: `${id_prefix}/timeinabottle`
        },
        {
            ritual_type: 'occultism:craft_with_spirit_name',
            activation_item: 'occultism:book_of_binding_bound_djinni',
            pentacle_id: 'occultism:craft_djinni',
            duration: 100,
            ritual_dummy: 'occultism:ritual_dummy/craft_infused_pickaxe',
            ingredients: [
                'immersiveengineering:stick_treated',
                'immersiveengineering:stick_treated',
                'occultism:spirit_attuned_pickaxe_head',
                {
                    item: 'astralsorcery:attuned_rock_crystal',
                    type: 'nbt_ingredient_predicate:nbt_includes',
                    nbt: {
                        astralsorcery: {
                            constellationName: 'astralsorcery:mineralis' 
                        }
                    }
                },
                'kubejs:linen_leather',
                'kubejs:industrial_adhesives_bucket',
                'bloodmagic:reagentfastminer',
                'atum:isis_godshard'
            ],
            result: 'occultism:infused_pickaxe',
            id: 'occultism:ritual/craft_infused_pickaxe'
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'minecraft:beacon',
            pentacle_id: 'occultism:craft_djinni',
            duration: 10,
            ritual_dummy: 'mininggadgets:mininggadget',
            ingredients: [
                'bloodmagic:destructivecatalyst',
                'immersiveengineering:alu_fence',
                'immersiveengineering:rs_engineering',
                'emendatusenigmatica:enderium_block',
                'bloodmagic:destructivecatalyst',
                'occultism:otherstone',
                'immersiveengineering:alu_fence',
                'engineersdecor:metal_bar',
                'bloodmagic:destructivecatalyst',
                'occultism:otherstone',
                'immersiveengineering:alu_fence',
                'engineersdecor:metal_bar'
            ],
            result: 'mininggadgets:mininggadget',
            id: `${id_prefix}/mininggadget`
        },
        {
            ritual_type: 'occultism:craft_with_spirit_name',
            activation_item: 'occultism:book_of_binding_bound_djinni',
            pentacle_id: 'occultism:craft_djinni',
            duration: 80,
            ritual_dummy: 'occultism:ritual_dummy/craft_dimensional_matrix',
            ingredients: [
                Item.of('astralsorcery:rock_crystal').ignoreNBT(),
                Item.of('astralsorcery:rock_crystal').ignoreNBT(),
                Item.of('astralsorcery:rock_crystal').ignoreNBT(),
                Item.of('astralsorcery:rock_crystal').ignoreNBT(),
                'bloodmagic:reagentteleposition',
                'atum:white_stained_crystal_glass',
                'integrateddynamics:logic_director',
                'atum:white_stained_crystal_glass',
                'bloodmagic:reagentteleposition',
                'atum:white_stained_crystal_glass',
                'integrateddynamics:logic_director',
                'atum:white_stained_crystal_glass'
            ],
            result: 'occultism:dimensional_matrix',
            id: 'occultism:ritual/craft_dimensional_matrix'
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'eidolon:shadow_gem',
            pentacle_id: 'occultism:craft_afrit',
            duration: 10,
            ritual_dummy: 'occultism:ritual_dummy/craft_soul_gem',
            ingredients: [
                'emendatusenigmatica:enderium_ingot',
                'tconstruct:soulsteel_ingot',
                'occultism:iesnium_ingot',
                'tconstruct:soulsteel_ingot',
                'bloodmagic:defaultcrystal',
                'bloodmagic:defaultcrystal',
                'bloodmagic:defaultcrystal',
                'bloodmagic:defaultcrystal'
            ],
            result: 'occultism:soul_gem',
            id: 'occultism:ritual/craft_soul_gem'
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'occultism:wormhole_frame',
            pentacle_id: 'occultism:craft_afrit',
            duration: 100,
            ritual_dummy: 'occultism:ritual_dummy/craft_dimensional_mineshaft',
            ingredients: [
                'occultism:otherstone',
                'occultism:otherstone',
                'occultism:otherstone',
                'occultism:otherstone',
                'occultism:iesnium_block',
                'thermal:netherite_plate',
                'astralsorcery:colored_lens_break',
                'thermal:netherite_plate',
                'immersiveengineering:steel_scaffolding_standard',
                'immersiveengineering:toolupgrade_drill_lube',
                'immersiveengineering:steel_scaffolding_standard',
                'bloodmagic:reinforcedteleposerfocus'
            ],
            result: 'occultism:dimensional_mineshaft',
            id: 'occultism:ritual/craft_dimensional_mineshaft'
        },
        {
            ritual_type: 'occultism:craft_with_spirit_name',
            activation_item: 'occultism:book_of_binding_bound_afrit',
            pentacle_id: 'occultism:craft_afrit',
            duration: 80,
            ritual_dummy: 'occultism:ritual_dummy/craft_miner_foliot_unspecialized',
            ingredients: [
                'occultism:magic_lamp_empty',
                Item.of('occultism:iesnium_pickaxe').ignoreNBT(),
                'bloodmagic:reagentsuppression',
                'immersiveengineering:drillhead_steel',
                '#forge:chunks',
                '#forge:chunks',
                '#forge:chunks',
                '#forge:chunks',
                '#forge:stone',
                '#forge:stone',
                '#forge:stone',
                '#forge:stone'
            ],
            result: 'occultism:miner_foliot_unspecialized',
            id: 'occultism:ritual/craft_miner_foliot_unspecialized'
        },
        {
            ritual_type: 'occultism:craft_with_spirit_name',
            activation_item: 'occultism:book_of_binding_bound_afrit',
            pentacle_id: 'occultism:craft_afrit',
            duration: 80,
            ritual_dummy: 'occultism:ritual_dummy/craft_miner_djinni_ores',
            ingredients: [
                'occultism:magic_lamp_empty',
                Item.of('occultism:iesnium_pickaxe').ignoreNBT(),
                {
                    item: 'astralsorcery:attuned_celestial_crystal',
                    type: 'nbt_ingredient_predicate:nbt_includes',
                    nbt: {
                        astralsorcery: {
                            constellationName: 'astralsorcery:mineralis' 
                        }
                    }
                },
                Item.of('immersiveengineering:survey_tools', '{Damage:0}'),
                '#forge:clusters',
                '#forge:clusters',
                '#forge:clusters',
                '#forge:clusters',
                '#forge:clusters',
                '#forge:clusters',
                '#forge:clusters',
                '#forge:clusters'
            ],
            result: 'occultism:miner_djinni_ores',
            id: 'occultism:ritual/craft_miner_djinni_ores'
        },
        {
            ritual_type: 'occultism:summon',
            activation_item: 'occultism:book_of_binding_bound_afrit',
            pentacle_id: 'occultism:summon_wild_afrit',
            duration: 60,
            entity_to_sacrifice: {
                tag: 'forge:blazes',
                display_name: 'ritual.occultism.sacrifice.blazes'
            },
            entity_to_summon: 'occultism:afrit_wild',
            ritual_dummy: 'occultism:ritual_dummy/summon_wild_afrit',
            ingredients: [
                'atum:efreet_heart',
                'emendatusenigmatica:bitumen_block',
                'astralsorcery:colored_lens_damage',
                'emendatusenigmatica:bitumen_block',
                'minecraft:blaze_powder',
                'minecraft:blaze_powder',
                'bloodmagic:weakbloodshard',
                'bloodmagic:weakbloodshard'
            ],
            result: 'occultism:jei_dummy/none',
            id: 'occultism:ritual/summon_wild_afrit'
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'jaopca:rods.hop_graphite',
            pentacle_id: 'occultism:craft_marid',
            duration: 120,
            ritual_dummy: 'immersiveengineering:graphite_electrode',
            ingredients: [
                'create:shadow_steel',
                'occultism:otherstone_tablet',
                'create:shadow_steel',
                'occultism:otherstone_tablet',
                'quark:biotite',
                'immersivepetroleum:petcoke_dust',
                'quark:biotite',
                'immersivepetroleum:petcoke_dust',
                'quark:biotite',
                'immersivepetroleum:petcoke_dust',
                'quark:biotite',
                'immersivepetroleum:petcoke_dust'
            ],
            result: 'immersiveengineering:graphite_electrode',
            id: `${id_prefix}/graphite_electrode`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: '#astralsorcery:colored_lens',
            pentacle_id: 'occultism:craft_marid',
            duration: 200,
            ritual_dummy: 'astralsorcery:infused_glass',
            ingredients: [
                'astralsorcery:starmetal_ingot',
                'astralsorcery:starmetal_ingot',
                'astralsorcery:starmetal_ingot',
                'astralsorcery:starmetal_ingot',
                'atum:horus_godshard',
                'immersiveengineering:dust_hop_graphite',
                'atum:horus_godshard',
                'immersiveengineering:dust_hop_graphite',
                'atum:horus_godshard',
                'immersiveengineering:dust_hop_graphite',
                'atum:horus_godshard',
                'immersiveengineering:dust_hop_graphite'
            ],
            result: 'astralsorcery:infused_glass',
            id: `${id_prefix}/infused_glass`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'occultism:book_of_binding_bound_marid',
            pentacle_id: 'occultism:craft_marid',
            duration: 200,
            ritual_dummy: 'occultism:ritual_dummy/craft_stable_wormhole',
            ingredients: [
                'occultism:wormhole_frame',
                '#forge:plates/titanium',
                'astralsorcery:colored_lens_spectral',
                '#forge:plates/titanium',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard'
            ],
            result: 'occultism:stable_wormhole',
            id: 'occultism:ritual/craft_stable_wormhole'
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'occultism:book_of_binding_bound_marid',
            pentacle_id: 'occultism:craft_marid',
            duration: 200,
            ritual_dummy: 'occultism:ritual_dummy/craft_storage_remote',
            ingredients: [
                'occultism:storage_remote_inert',
                'occultism:afrit_essence',
                'integrateddynamics:logic_director',
                'occultism:afrit_essence',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard',
                'rftoolsbase:dimensionalshard'
            ],
            result: 'occultism:storage_remote',
            id: 'occultism:ritual/craft_storage_remote'
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'immersiveengineering:rs_engineering',
            pentacle_id: 'occultism:craft_marid',
            duration: 10,
            ritual_dummy: 'jaept:machine_frame_pity',
            ingredients: [
                'kubejs:smart_circuit',
                '#forge:gears/stainless_steel',
                'kubejs:smart_circuit',
                '#forge:gears/stainless_steel',
                'engineersdecor:rebar_concrete',
                'engineersdecor:old_industrial_wood_planks',
                'engineersdecor:rebar_concrete',
                'engineersdecor:old_industrial_wood_planks',
                'engineersdecor:rebar_concrete',
                'engineersdecor:old_industrial_wood_planks',
                'engineersdecor:rebar_concrete',
                'engineersdecor:old_industrial_wood_planks',
            ],
            result: 'jaept:machine_frame_pity',
            id: `${id_prefix}/machine_frame_pity`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'powah:dielectric_casing',
            pentacle_id: 'occultism:craft_marid',
            duration: 90,
            ritual_dummy: 'powah:energizing_rod_starter',
            ingredients: [
                'industrialforegoing:laser_lens0',
                'powah:capacitor_basic',
                'immersiveengineering:tesla_coil',
                'powah:capacitor_basic',
                'immersiveengineering:ingot_hop_graphite',
                'powah:dielectric_paste',
                'occultism:otherstone',
                'powah:dielectric_paste',
                'immersiveengineering:ingot_hop_graphite',
                'powah:dielectric_paste',
                'occultism:otherstone',
                'powah:dielectric_paste'
            ],
            result: 'powah:energizing_rod_starter',
            id: `${id_prefix}/energizing_rod_starter`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'powah:dielectric_casing',
            pentacle_id: 'occultism:craft_marid',
            duration: 90,
            ritual_dummy: 'powah:energy_cell_starter',
            ingredients: [
                'powah:capacitor_basic',
                'powah:capacitor_basic',
                'immersiveengineering:capacitor_hv',
                'powah:capacitor_basic',
                'occultism:otherstone',
                'powah:dielectric_paste',
                'occultism:otherstone',
                'powah:dielectric_paste',
                'occultism:otherstone',
                'powah:dielectric_paste',
                'occultism:otherstone',
                'powah:dielectric_paste'
            ],
            result: 'powah:energy_cell_starter',
            id: `${id_prefix}/energy_cell_starter`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'powah:ender_core',
            pentacle_id: 'occultism:craft_marid',
            duration: 90,
            ritual_dummy: 'powah:ender_cell_starter',
            ingredients: [
                'powah:capacitor_basic',
                'powah:capacitor_basic',
                'immersiveengineering:connector_hv_relay',
                'powah:capacitor_basic',
                'quark:biotite_block',
                'powah:dielectric_paste',
                'quark:biotite_block',
                'powah:dielectric_paste',
                'quark:biotite_block',
                'powah:dielectric_paste',
                'quark:biotite_block',
                'powah:dielectric_paste'
            ],
            result: 'powah:ender_cell_starter',
            id: `${id_prefix}/ender_cell_starter`
        },
        {
            ritual_type: 'occultism:craft',
            activation_item: 'powah:dielectric_casing',
            pentacle_id: 'occultism:craft_marid',
            duration: 90,
            ritual_dummy: 'powah:solar_panel_starter',
            ingredients: [
                'powah:photoelectric_pane',
                'powah:capacitor_basic',
                'engineersdecor:small_solar_panel',
                'powah:capacitor_basic',
                'powah:photoelectric_pane',
                'powah:dielectric_paste',
                'occultism:otherstone_tablet',
                'powah:dielectric_paste',
                'powah:photoelectric_pane',
                'powah:dielectric_paste',
                'occultism:otherstone_tablet',
                'powah:dielectric_paste'
            ],
            result: 'powah:solar_panel_starter',
            id: `${id_prefix}/solar_panel_starter`
        }
    ];

    recipes.forEach((recipe) => {
        recipe.type = 'occultism:ritual';

        recipe.activation_item = Ingredient.of(recipe.activation_item).toJson();
        if (recipe.item_to_use) {
            recipe.item_to_use = Ingredient.of(recipe.item_to_use).toJson();
        }
        recipe.ritual_dummy = Ingredient.of(recipe.ritual_dummy).toJson();
        recipe.ingredients = recipe.ingredients.map((input) => Ingredient.of(input).toJson());
        recipe.result = Item.of(recipe.result).toJson();

        event.custom(recipe).id(recipe.id);
    });

});