ServerEvents.recipes(event => {
        [
            'legendarysurvivaloverhaul:heart_container'
        ].forEach(recipe => event.remove({id: recipe}));
    

    event.shaped('legendarysurvivaloverhaul:heart_fragment', [
    'YRY',
    'RHR',
    'YRY'
], {
    V: 'minecraft:air',
    R: 'minecraft:red_stained_glass',
    Y: 'minecraft:yellow_stained_glass',
    H: 'legendarysurvivaloverhaul:healing_herbs'
});

event.shaped('legendarysurvivaloverhaul:heart_container', [
    'VVV',
    'GHG',
    'VGV'
], {
    V: 'minecraft:air',
    G: 'legendarysurvivaloverhaul:heart_fragment',
    H: 'minecraft:golden_apple'
});
})