I tried using the blacklist example on the wiki, but it didn't work:
const white_mats = e.get("modpack:dye_materials/white").getObjectIds()
const blacklist = Item.of("minecraft:bone_meal")
white_mats.forEach(white_mat => {
if (!blacklist.test(white_mats))
e.add("modpack:dye_materials/white_flower", white_mats)
})
it should add everything with my custom dye_materials/white tag to the dye_materials/white_flower tag, but exclude Bone Meal.
just says it can't find bone meal.
