ServerEvents.recipes(event => {
    // 1. Spelunkery Table
    event.remove({ output: 'alexscaves:spelunkery_table' })

    event.shaped(1x 'alexscaves:spelunkery_table'),
        [
            'PCP',
            'CTC',
            ' C '
        ], {
            C: 'minecraft:cobblestone',
            T: 'minecraft:cartography_table',
	    P: 'Minecraft:paper'
        }
    )

    // 2. Candy Cavity Tablet
    event.shaped(1x 'alexscaves:cave_tablet', '{"alexscaves:biome": "alexscaves:candy_cavity"}', 
        [
            ' D ',
            'RSR',
            ' R '
        ], {
            D: 'minecraft:pink_dye',
            S: 'minecraft:sugar',
            R: 'minecraft:cobblestone'
        }
    )

    // 2.5. Candy Cavity Duplicate Tablet
    event.shaped(2x 'alexscaves:cave_tablet', '{"alexscaves:biome": "alexscaves:candy_cavity"}',
        [
            'CCC',
            'CAC',
            'CCC'
        ], {
            A: Item.of('alexscaves:cave_tablet', '{"alexscaves:biome": "alexscaves:candy_cavity"}'),
            C: 'Minecraft:cobblestone'
    )
})
