#Remove an enchantment/potion/tipped arrow?
43 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
Remove an enchantment/potion/tipped arrow?
i believe morejs can do enchantment removal, brewing recipe removal and trade removal
MoreJS is a KubeJS addon with additional events for villager/wanderer trades, structures, the enchantment table, potion brewing and more.
Does anyone know how to remove tags from enchanted books?
Specifically this item:
<item:minecraft:enchanted_book>.withTag({StoredEnchantments: [{lvl: 1, id: "apotheosis:rebounding"}]})
This is how I can remove tags from other items:
IServerEvents.tags('item', event => {
event.removeAllTagsFrom('betteranimalsplus:calamari_raw')
})```
I don't thing MoreJS actually can remove enchantments. The only easy way I have found enchantment removals is through Quark's configuration. But not worth installing Quark if that is ALL you are doing.
Great! Do you know if it is additionally possible to remove tags from enchantment books?
Why are you removing tags? I don't think that is a true tag but NBT data converted to a tag
potions and enchantment books are just minecraft:potion or minecraft:enchanted_book with NBT data added to it to create the different potions/effects
I figured removing tags would be an easy way to prevent non-tagged enchants from being used, as they wouldn't technically be enchanted books anymore
Doesn't work with potions/books. You'd need to strip the nbt
Is that the same for tipped_arrows as well?
please turn off pings when you are responding, but I'd assume so
Also, regarding the blacklist in Quark, would I just need to do this? (would it cover all of the levels for that type of enchant?
#A list of enchantment IDs you don't want the enchantment table to be able to create
"Disallowed Enchantments" = ["additionaladditions:speed]"```
How can you turn off pings when responding? (sorry) Isn't that something the end user does locally? (i.e. you)
I have only removed entire enchantments, it sounds like you are trying to split things up depending on what is being enchanted. Yes that is all you need to add in Quark for those. When you hit reply, on the right it has @ on click that and it turns it off.
Oh neat. Also, I am not sure what you mean by I have only removed entire enchantments, it sounds like you are trying to split things up depending on what is being enchanted.
I am trying to remove entire enchantments
Removing the enchantment in Quark I think removes every instance of it even if it is on arrows etc
oh perfect
Sadly it doesn't seem to be working. I don't think that blacklist is enabled if "Matrix Enchanting" = false I'm going to ask in their discord
I am using it
You have a misplaced quotation mark
Also I think that is the wrong config, that looks like Quark Oddities
Yes that is the oddities file it seems
Actually, this code is in the quark-common.toml
That is disallowing for oddities
oh..
I see. To confirm it is here?
"Enchantments To Begone" = []```
Correct
perfect
It didn't work 😦
Do you know if it is possible to remove NBT data?
Also, are some enchantments not able to be disabled via "Enchantments To Begone"? (also, sorry for the ping, I don't know if it is still disabled, or if you need to do that for each reply)
I'm not sure if my syntax is wrong or if I need to do something else?
So it isn't going to remove books already made but they should not be in loot drops or in the enchanting table. It also does not remove it from jei apparently.
Also MoreJS DOES remove potions from being allowed to be brewed.
/**
* Removes all potions where an awkward potion is used as theb base potion ingredient.
* 1. Argument: The input potion id to filter.
* 2. Argument: The ingredient to filter.
* 3. Argument: The result potion id to filter.
* Passing `null` counts as a wildcard.
*/
event.removeByPotion("minecraft:awkward", null, null);
});```
Then you might be able to perform some magic in lootjs to remove just certain potions from drops
Does anyone know how to remove an enchantment from an entity on entity spawn? Specifically, I still want them to keep their gear with all the other effects on it, but just to remove that one enchantment.