ServerEvents.recipes(event => {
    // Remove all securitycraft recipes except camera ones (already done in other script)
    // Remove the old camera recipes too
    event.remove({ output: 'securitycraft:security_camera' })
    event.remove({ output: 'securitycraft:camera_monitor' })

    // Camera Monitor: 8 glass panes surrounding 1 redstone block in the middle
    event.shaped('securitycraft:camera_monitor', [
        'GGG',
        'GRG',
        'GGG'
    ], {
        G: 'minecraft:glass_pane',
        R: 'minecraft:redstone_block'
    })

    // Security Camera:
    // Layout (3x3):
    // I I I
    // G R I
    // I I S
    // G = glass, R = redstone block, S = stick, I = iron ingot
    event.shaped('securitycraft:security_camera', [
        'III',
        'GRI',
        'IIS'
    ], {
        I: 'minecraft:iron_ingot',
        G: 'minecraft:glass',
        R: 'minecraft:redstone_block',
        S: 'minecraft:stick'
    })
})