events.listen('recipes', event => {

    event.shaped(item.of('mininggadgets:mininggadget_simple', 1), [
        ' LL',
        'AUD',
        ' II'
    ], {
        D: 'kubejs:disassembly_core',
        I: '#forge:ingots/refined_glowstone',
        U: 'mininggadgets:upgrade_empty',
        L: 'mekanism:laser',
        A: '#forge:gems/diamond'
    })
    event.shaped(item.of('mininggadgets:mininggadget_fancy', 1), [
        ' II',
        'AUD',
        ' LL'
    ], {
        D: 'kubejs:disassembly_core',
        I: '#forge:ingots/refined_glowstone',
        U: 'mininggadgets:upgrade_empty',
        L: 'mekanism:laser',
        A: '#forge:gems/diamond'
    })
    event.shaped(item.of('mininggadgets:mininggadget', 1), [
        ' LI',
        'AUD',
        ' LI'
    ], {
        D: 'kubejs:disassembly_core',
        I: '#forge:ingots/refined_glowstone',
        U: 'mininggadgets:upgrade_empty',
        L: 'mekanism:laser',
        A: '#forge:gems/diamond'
    })

    event.shaped(item.of('mininggadgets:upgrade_empty', 1), [
        'RLR',
        'DGD',
        'RLR'
    ], {
        D: '#forge:gems/diamond',
        R: '#forge:dusts/redstone',
        L: '#forge:gems/lapis',
        G: '#forge:gears/electrum'
    })
    event.shaped(item.of('mininggadgets:upgrade_three_by_three', 1), [
        'RLR',
        'EBE',
        'RLR'
    ], {
        E: 'minecraft:ender_pearl',
        R: '#forge:dusts/redstone',
        L: 'mekanism:laser',
        B: 'mininggadgets:upgrade_empty'
    })
    event.shaped(item.of('mininggadgets:upgrade_efficiency_1', 1), [
        'DED',
        'DUD',
        'DBD'
    ], {
        D: '#forge:dusts/redstone',
        B: '#forge:storage_blocks/redstone',
        U: 'mininggadgets:upgrade_empty',
        E: 'mekanism:upgrade_speed'
    })
    event.shaped(item.of('mininggadgets:upgrade_efficiency_2', 1), [
        'DBD',
        'EUE',
        'DBD'
    ], {
        D: '#forge:dusts/redstone',
        B: '#forge:storage_blocks/redstone',
        U: 'mininggadgets:upgrade_efficiency_1',
        E: 'mekanism:upgrade_speed'
    })
    event.shaped(item.of('mininggadgets:upgrade_efficiency_3', 1), [
        'DED',
        'EUE',
        'BBB'
    ], {
        D: '#forge:dusts/redstone',
        B: '#forge:storage_blocks/redstone',
        U: 'mininggadgets:upgrade_efficiency_2',
        E: 'mekanism:upgrade_speed'
    })
    event.shaped(item.of('mininggadgets:upgrade_efficiency_4', 1), [
        'BEB',
        'EUE',
        'BEB'
    ], {
        B: '#forge:storage_blocks/redstone',
        U: 'mininggadgets:upgrade_efficiency_3',
        E: 'mekanism:upgrade_speed'
    })
    event.shaped(item.of('mininggadgets:upgrade_efficiency_5', 1), [
        'EBE',
        'BUB',
        'EEE'
    ], {
        B: '#forge:storage_blocks/redstone',
        U: 'mininggadgets:upgrade_efficiency_4',
        E: 'mekanism:upgrade_speed'
    })

    event.shaped(item.of('mininggadgets:upgrade_fortune_1', 1), [
        'EIE',
        'LUL',
        'EIE'
    ], {
        I: '#forge:storage_blocks/invar',
        L: '#forge:storage_blocks/lapis',
        U: 'mininggadgets:upgrade_empty',
        E: '#forge:storage_blocks/emerald'
    })
    event.shaped(item.of('mininggadgets:upgrade_fortune_2', 1), [
        'EIE',
        'LUL',
        'EIE'
    ], {
        I: '#forge:storage_blocks/electrum',
        L: '#forge:storage_blocks/lapis',
        U: 'mininggadgets:upgrade_fortune_1',
        E: '#forge:ingots/netherite'
    })
    event.shaped(item.of('mininggadgets:upgrade_fortune_3', 1), [
        'LIL',
        'EUE',
        'LIL'
    ], {
        I: '#forge:storage_blocks/enderium',
        L: '#forge:storage_blocks/lapis',
        U: 'mininggadgets:upgrade_fortune_2',
        E: '#forge:storage_blocks/netherite'
    })

    event.shaped(item.of('mininggadgets:upgrade_silk', 1), [
        'SAS',
        'GUG',
        'SES'
    ], {
        S: '#forge:slimeballs',
        A: 'minecraft:golden_apple',
        G: '#forge:ingots/gold',
        U: 'mininggadgets:upgrade_empty',
        E: 'quark:ravager_hide'
    })

    event.shaped(item.of('mininggadgets:upgrade_battery_1', 1), [
        'ITI',
        'IUI',
        'III'
    ], {
        T: 'mekanism:energy_tablet',
        U: 'mininggadgets:upgrade_empty',
        I: 'minecraft:quartz'
    })

    event.shaped(item.of('mininggadgets:upgrade_battery_2', 1), [
        'IBI',
        'TUT',
        'IBI'
    ], {
        T: 'mekanism:energy_tablet',
        U: 'mininggadgets:upgrade_empty',
        I: 'minecraft:quartz',
        B: 'minecraft:quartz_block'
    })

    event.shaped(item.of('mininggadgets:upgrade_battery_3', 1), [
        'BTB',
        'TUT',
        'BTB'
    ], {
        T: 'mekanism:energy_tablet',
        U: 'mininggadgets:upgrade_empty',
        B: 'minecraft:quartz_block'
    })
})