ServerEvents.recipes(event => {

    event.custom({
        type: "lychee:item_inside",
        item_in: { item: "minecraft:obsidian" },
        block_in: { blocks: ["minecraft:water"] },
        post: [
            {
                "type": "drop_item",
                "item": "minecraft:crying_obsidian",
                "count": 1
            },
            {
                "type": "execute",
                "command": "particle minecraft:composter ~ ~0.15 ~ -0.5 0.5 0.5 0.07 3 force",
                "hide": true
            },
            {
                "type": "execute",
                "command": "playsound minecraft:entity.dolphin.splash player @p ~ ~ ~ 0.25",
                "hide": true
            }
        ]
    })
        .id('lychee:obsidian/water/crying_obsidian')

    event.custom({
        type: "lychee:item_inside",
        item_in: { item: "minecraft:amethyst_shard" },
        block_in: { blocks: ["minecraft:soul_campfire"] },
        post: [
            {
                "type": "drop_item",
                "item": "minecraft:echo_shard",
                "count": 1
            },
            {
                "type": "execute",
                "command": "particle minecraft:composter ~ ~0.15 ~ -0.5 0.5 0.5 0.07 3 force",
                "hide": true
            },
            {
                "type": "execute",
                "command": "playsound minecraft:block.sculk_shrieker.break master @p ~ ~ ~ 0.75 1",
                "hide": true
            }
        ]
    })
        .id('lychee:amethyst/echo_shard')
})