#How to remove a potion with MoreJS (Not remove it as an ingredient)

11 messages · Page 1 of 1 (latest)

ashen sentinelBOT
#

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

coral hollow
#

did you read the wiki?

#

that i provided? what’s does 3rd argument say?

tame badger
#

Okay, I'm giving it a try

tame badger
coral hollow
tame badger
# coral hollow if you want to remove the potion recipe entirely, `event.removeByPotion(null, nu...

This is what I have in my script ```MoreJSEvents.registerPotionBrewing((event) => {
event.removeByPotion("apotheosis:resistance", null, null);
event.removeByPotion("apotheosis:absorption", null, null);
event.removeByPotion("apotheosis:haste", null, null);
event.removeByPotion("apotheosis:wither", null, null);
event.removeByPotion("apotheosis:sundering", null, null);
event.removeByPotion("apotheosis:grievous", null, null);
event.removeByPotion("apotheosis:flying", null, null);

event.removeByPotion(null, null, "apotheosis:resistance");
event.removeByPotion(null, null, "apotheosis:absorption");
event.removeByPotion(null, null, "apotheosis:haste");
event.removeByPotion(null, null, "apotheosis:wither");
event.removeByPotion(null, null, "apotheosis:sundering");
event.removeByPotion(null, null, "apotheosis:grievous");
event.removeByPotion(null, null, "apotheosis:flying");

});```

#

not seeing good results

coral hollow
#

did you restart the game after?

tame badger