#recipe remove loop not working

4 messages · Page 1 of 1 (latest)

stoic folioBOT
#

Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!

dull narwhal
#
let removeRecipes = [
        /* #coral */    
        ["create:filling", "", ["minecraft:tube_coral_block", "minecraft:brain_coral_block", "minecraft:bubble_coral_block", "minecraft:fire_coral_block", "minecraft:horn_coral_block"]],
        /* #asphalt */
        ["create:mixing", "", "create_dd:asphalt_block"],
        ["create:compacting", "", "createloveandwar:bitumen"],
        /* #circuits */
        ["create:deploying", "", ["createloveandwar:redstone_circuit", "createloveandwar:precision_circuit", "createloveandwar:quantum_circuit"]],
        ["createloveandwar:slime_resin_block", "", "createloveandwar:slime_resin"],
        ["createloveandwar:slime_resin", "", "createloveandwar:slime_resin_block"],
        ["minecraft:crafting", "", "createloveandwar:slime_resin"],
    ]

    removeRecipes.forEach((recipe) => {
        event.remove({
            type: recipe[0], 
            Input: recipe[1] ? recipe[1] : "",
            output: recipe[2] ? recipe[2] : "",
        })
    })