// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.

ServerEvents.tags('item', event => {
    const saplings = event.get('minecraft:saplings').getObjectIds()
    const blacklist = Ingredient.of(/productivetrees.*/)
    saplings.forEach(sapling => {
        if (!blacklist.test(sapling)) event.add('the_bumblezone:tradeable_saplings', sapling)
    })
})

// This File has been authored by AllTheMods Staff, or a Community contributor for use in AllTheMods - AllTheMods 10.
// As all AllTheMods packs are licensed under All Rights Reserved, this file is not allowed to be used in any public packs not released by the AllTheMods Team, without explicit permission.
