ServerEvents.recipes(event=>{

    event.custom({
        "type": "wizards_reborn:arcane_workbench",
        "pattern": [
            "_CX",
            "_SC",
            "S__",
            "____"
        ],
        "key": {
            "S": {
            "item": "stick"
            },
            "X": {
            "item": "string"
            },
            "C": {
            "item": "quark:sturdy_stone"
            }
        },
        "output": {
            "item": "immersiveengineering:hammer"
        },
        "wissen": 250
    }).id("immersiveengineering:crafting/hammer")

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "###",
        "#A#",
        "###",
        "____"
    ],
    "key": {
        "#": {
        "item": "quark:sturdy_stone"
        },
        "A": {
        "tag": "wizards_reborn:arcanum"
        }
    },
    "output": {
        "item": "wizards_reborn:wisestone",
        "count": 8
    },
    "wissen": 100
    }).id("wizards_reborn:arcane_workbench/wisestone")

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "###",
        "#E#",
        "###",
        "AAAA"
    ],
    "key": {
        "E": {
        "item": "spider_eye"
        },
        "A": {
        "tag": "wizards_reborn:arcanum"
        },
        "#":{
        "item": "coal_block"    
        }
    },
    "output": {
        "item": "enigmaticlegacy:enigmatic_eye",
    },
    "wissen": 500
    })

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "A#A",
        "#E#",
        "A#A",
        "AAAA"
    ],
    "key": {
        "E": {
        "item": "ender_pearl"
        },
        "A": {
        "tag": "wizards_reborn:arcanum"
        },
        "#":{
        "item": "coal_block"    
        }
    },
    "output": {
        "item": "enigmaticlegacy:enigmatic_eye",
    },
    "wissen": 250
    })

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "###",
        "#E#",
        "###",
        "AAAA"
    ],
    "key": {
        "E": {
        "item": "ars_nouveau:ring_of_potential"
        },
        "A": {
        "tag": "forge:ingots/iron"
        },
        "#":{
        "tag": "immersive_weathering:bark"    
        }
    },
    "output": {
        "item": "enigmaticlegacy:iron_ring",
    },
    "wissen": 500
    }).id("enigmaticlegacy:iron_ring")

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "LEL",
        "ECE",
        "LEL",
        "AAAA"
    ],
    "key": {
        "E": {
        "tag": "forge:gems/emerald"
        },
        "L": {
        "item": "thermal:sapphire"
        },
        "A": {
        "item": "forbidden_arcanus:xpetrified_orb"
        },
        "C":{
        "item": "minecraft:amethyst_cluster"    
        }
    },
    "output": {
        "item": "thermal:xp_crystal",
    },
    "wissen": 500
    }).id("thermal:tools/xp_crystal")

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "NEN",
        "NCN",
        "NNN",
        "AAAA"
    ],
    "key": {
        "E": {
        "item": "kubejs:infused_emerald"
        },
        "C": {
        "item": "aether:golden_ring"
        },
        "A": {
        "item": "forbidden_arcanus:xpetrified_orb"
        },
        "N":{
        "tag": "forge:nuggets/gold"    
        }
    },
    "output": {
        "item": "irons_spellbooks:emerald_stoneplate_ring",
    },
    "wissen": 500
    }).id("irons_spellbooks:curios/emerald_stoneplate_ring")

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        " Z ",
        "NCN",
        " X ",
        "BBAA"
    ],
    "key": {
        "Z": {
        "item": "lodestone"
        },
        "X": {
        "tag": "forge:gems/diamond"
        },
        "C": {
        "item": "ars_nouveau:ring_of_potential"
        },
        "A": {
        "tag": "forge:storage_blocks/lapis"
        },
        "B": {
        "tag": "forge:storage_blocks/redstone"
        },
        "N":{
        "tag": "forge:ingots/iron"    
        }
    },
    "output": {
        "item": 'enigmaticlegacy:magnet_ring',
    },
    "wissen": 500
    }).id("enigmaticlegacy:magnet_ring")

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "NNN",
        "NCN",
        "NNN",
        "AAAA"
    ],
    "key": {
        "C": {
        "item": "kubejs:metal_crucifix"
        },
        "A": {
        "item": "wizards_reborn:arcanum"
        },
        "N":{
        "tag": "forge:plates/gold"    
        }
    },
    "output": {
        "item": "kubejs:bejeweled_crucifix",
    },
    "wissen": 500
    })

    event.shaped("ars_nouveau:apprentice_spell_book",["   "," X ","   "],{X:"kubejs:recipe_changed"}).id("ars_nouveau:apprentice_spell_book_upgrade")
    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "RRR",
        "RXS",
        "SSS",
        "ABCD"
    ],
    "key": {
        "X": {
        "item": "ars_nouveau:novice_spell_book"
        },
        "A": {
        "item": "ars_nouveau:fire_essence"
        },
        "B": {
        "item": "ars_nouveau:earth_essence"
        },
        "C": {
        "item": "ars_nouveau:water_essence"
        },
        "D": {
        "item": "ars_nouveau:air_essence"
        },
        "R":{
        "item": "thermal:ruby"    
        },
        "S":{
        "item": "thermal:sapphire"    
        }
    },
    "output": {
        "item": "ars_nouveau:apprentice_spell_book",
    },
    "wissen": 500
    })

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "RRR",
        "RXR",
        "RRR",
        "__S_"
    ],
    "key": {
        "X": {
        "item": "ars_nouveau:mundane_belt"
        },
        "S": {
        "item": "thermal:sapphire"
        },
        "R":{
        "item": "minecraft:bricks"    
        }
    },
    "output": {
        "item": "kubejs:builders_belt",
    },
    "wissen": 500
    })

    /*event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "RXR",
        " S ",
        " S",
        "NNN"
    ],
    "key": {
        "X": {
        "item": "minecraft:stone_shovel"
        },
        "S": {
        "item": "immersiveengineering:stick_treated"
        },
        "N": {
        "item": "twilightforest:naga_scale"
        },
        "R":{
        "item": "quark:sturdy_stone"    
        }
    },
    "output": {
        "item": Item.of('kubejs:primitive_excavator', '{Damage:0,Modifier:"forbidden_arcanus:demolishing",display:{Name:\'{"italic":false,"text":"Primitive Excavator"}\'}}'),
    },
    "wissen": 500
    })

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "RXR",
        " S ",
        " S",
        "NNN"
    ],
    "key": {
        "X": {
        "item": "minecraft:stone_shovel"
        },
        "S": {
        "item": "immersiveengineering:stick_treated"
        },
        "N": {
        "item": "twilightforest:naga_scale"
        },
        "R":{
        "item": "quark:sturdy_stone"    
        }
    },
    "output": {
        "item": Item.of('kubejs:primitive_mining_hammer', '{Damage:0,Modifier:"forbidden_arcanus:demolishing",display:{Name:\'{"italic":false,"text":"Primitive Mining Hammer"}\'}}')
    },
    "wissen": 500
    })*/

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "WTW",
        " W ",
        " W ",
        "____"
    ],
    "key": {
        "W": {
        "item": "wizards_reborn:arcane_wood_planks"
        },
        "T": {
        "item": "kubejs:roadrunner_totem"
        }
    },
    "output": {
        "item": "wizards_reborn:arcane_wood_cane",
    },
    "wissen": 500
    }).id("wizards_reborn:arcane_workbench/arcane_wood_cane")

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        " PA",
        "PRP",
        "AP ",
        "_G_G"
    ],
    "key": {
        "A": {
        "item": "wizards_reborn:arcanum"
        },
        "G": {
        "tag": "forge:dusts/gold"
        },
        "R":{
        "item": "stick"    
        },
        "P":{
        "item": "ars_nouveau:archwood_planks"   
        }
    },
    "output": {
        "item": "ars_nouveau:dowsing_rod",
    },
    "wissen": 500
    }).id("ars_nouveau:dowsing_rod")

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "PBP",
        "BCB",
        "PBP",
        "EEEE"
    ],
    "key": {
        "C": {
        "item": "thermal:xp_crystal"
        },
        "E": {
        "item": "kubejs:infused_emerald"
        },
        "B":{
        "item": "enigmaticlegacy:thicc_scroll"    
        },
        "P":{
        "item": "forbidden_arcanus:xpetrified_orb"   
        }
    },
    "output": {
        "item": "enigmaticlegacy:xp_scroll",
    },
    "wissen": 500
    }).id("enigmaticlegacy:xp_scroll")

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "  A",
        " S ",
        "A  ",
        "GGGG"
    ],
    "key": {
        "A": {
        "item": "minecraft:amethyst_shard"
        },
        "S": {
        "item": "immersiveengineering:stick_treated"
        },
        "G":{
        "tag": "forge:ingots/gold"    
        }
    },
    "output": {
        "item": "ars_nouveau:dominion_wand",
    },
    "wissen": 1000
    })

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        " G ",
        "DWD",
        " B ",
        "SSSS"
    ],
    "key": {
        "W": {
        "item": "minecraft:clock"
        },
        "B": {
        "item": "minecraft:glass_bottle"
        },
        "S": {
        "item": "forbidden_arcanus:stellarite_piece"
        },
        "G":{
        "tag": "forge:plates/gold"    
        },
        "D":{
        "tag": "forge:gears/diamond"    
        }
    },
    "output": {
        "item": "tiab:time_in_a_bottle",
    },
    "wissen": 5000
    }).id("tiab:time_in_a_bottle")

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "GBG",
        "DBD",
        "GBG",
        "SSSS"
    ],
    "key": {
        "W": {
        "item": "minecraft:clock"
        },
        "B": {
        "item": "minecraft:honey_bottle"
        },
        "S": {
        "item": "ars_nouveau:magebloom"
        },
        "G":{
        "tag": "forge:dusts/lapis"    
        },
        "D":{
        "item": "minecraft:phantom_membrane"    
        }
    },
    "output": {
        "item": "enigmaticlegacy:mending_mixture",
        "count": 3
    },
    "wissen": 1500
    }).id("enigmaticlegacy:mending_mixture")

    event.custom({
    "type": "wizards_reborn:arcane_workbench",
    "pattern": [
        "LCL",
        "LML",
        "L L",
        "EEEE"
    ],
    "key": {
        "L": {
        "item": "wizards_reborn:arcane_wood_log"
        },
        "E": {
        "item": "forbidden_arcanus:xpetrified_orb"
        },
        "C":{
        "item": "crafting_table"   
        },
        "M":{
        "item": "kubejs:basic_magic_machine"    
        }
    },
    "output": {
        "item": "craftingstation:crafting_station"
    },
    "wissen": 2000
    }).id("craftingstation:crafting_station")


})