#How do I remove recipes for specific potions?

5 messages · Page 1 of 1 (latest)

broken sky
#

I am wanting to remove some specific potions from my modpack for balancing reasons. I tried to do it myself but it seems like it won't work for potions specifically. Any help would be greatly appreciated.

Here is the code I typed up for one:

ServerEvents.recipes(event => {
    [
        'minecraft:minecraft.potion.levitation.effect.minecraft.levitation..Duration..2400.to.minecraft.potion.flying.effect.attributeslib.flying..Duration..9600'
    ].forEach((recipeID) => event.remove({id: recipeID}));
})

Also attached is the recipe ID in a screenshot for an example.

untold flameBOT
#

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

keen shoalBOT
#

MoreJS is a KubeJS addon with additional events for villager/wanderer trades, structures, the enchantment table, potion brewing and more.

broken sky
#

Thanks