
// priority: 8
//Run this at a lower priority than cyclic_whitelist.js
/*
 * Edit cyclic OP Recipes
 */
ServerEvents.recipes((event) => {

    event.remove([
        { output: "cyclic:mattock_stone" },
        { output: "cyclic:mattock" },
        { output: "createaddition:electrum_amulet" },
    ]);

    // event.recipes.create.mechanical_crafting('cyclic:crafting_stick', [
    //     '  OOV',
    //     '  OCO',
    //     '  WOO',
    //     ' I   ',
    //     'I    '
    // ], {
    //     C: 'cyclic:workbench',
    //     N: 'vs_clockwork:wanderlite_matrix',
    //     O: 'cyclic:gem_obsidian',
    //     V: 'cataclysm:void_stone',
    //     I: 'minecraft:blaze_rod',
    // });

    // event.recipes.create.mechanical_crafting('createaddition:electrum_amulet', [
    //     ' ETE ',
    //     'IUUUI',
    //     'BUVUB',
    //     'IUUUI',
    //     ' ETE '
    // ], {
    //     T: 'northstar:tungsten_sheet',
    //     E: 'createaddition:electrum_sheet',

    //     V: 'cataclysm:void_stone',
    //     I: 'cataclysm:ignitium_ingot',
    //     U: 'minecraft:totem_of_undying',

    //     // S: 'minecraft:emerald',
    //     B: 'cataclysm:black_steel_ingot',
    //     // C: 'cataclysm:cursium_ingot',
    // });

    event.recipes.create.mechanical_crafting('cyclic:mattock_stone', [
        ' SSOV',
        '  OBO',
        '  NOS',
        ' I  S',
        'I    '
    ], {
        S: 'minecraft:smooth_stone',
        N: 'minecraft:netherite_pickaxe',
        O: 'cyclic:gem_obsidian',
        V: 'cataclysm:void_stone',
        I: 'cataclysm:ignitium_ingot',
        B: 'cataclysm:black_steel_ingot',
    });

    event.recipes.create.mechanical_crafting('cyclic:mattock', [
        'OOOOB',
        ' LLNO',
        '  ILO',
        ' I LO',
        'I   O'
    ], {
        // E: 'cataclysm:cursium_ingot',
        // D: 'deeperdarker:soul_crystal',
        //V: 'aether:vampire_blade',
        N: 'cyclic:mattock_stone',
        O: 'cyclic:gem_obsidian',
        I: 'northstar:martian_steel',
        L: 'northstar:tungsten_sheet',
        B: 'deeperdarker:warden_sword',
    });

});