#MoreJS cutstom brewing stand recipe not working with NBT

2 messages · Page 1 of 1 (latest)

tough basalt
#

hello, so ive been working on a modpack and Im trying to make a recipe for dragons breath in a brewing stand, but when I use Item.of() it doesnt have nbt tags, and when I use an ingredient it says it must be an item, does anyone know how to solve this

Item.of code:

    event.addCustomBrewing(
        "minecraft:gold_ingot",
        Item.of('minecraft:splash_potion', '{Potion:"minecraft:strong_harming"}'),
        Item.of('minecraft:dragon_breath')
    );
});```

Ingredient code:
```MoreJSEvents.registerPotionBrewing((event) => {
    event.addCustomBrewing(
        "minecraft:gold_ingot",
        Ingredient.customNBT("minecraft:splash_potion", (nbt) => {
            return nbt.contains("Potion") && nbt.Potion == "minecraft:strong_harming";
        }),
        Item.of('minecraft:dragon_breath')
    );
});```
upbeat plazaBOT
#

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