nvb-uy / Item_Obliterator

Remove unwanted items
Other
5 stars 5 forks source link

Blacklisting component data doesn't work #60

Open santastolle opened 1 month ago

santastolle commented 1 month ago

I can't get blacklisting component data to work. I was trying to blacklist a specific enchanted book, but I can't get it to work. Then I tried the example in the config file (Potion:"minecraft:regeneration") which prevented me from starting minecraft.

Is there any documentation on how to get this working?

(v3.1.1 for 1.21)

nvb-uy commented 1 month ago

Your issue is because you didn't escape the quotes properly, you'll need to add \ before a quote, so it should be like this: "Potion:\"minecraft:regeneration\""

Keep in mind this example is for pre 1.21, it might not work in 1.21, please use the new debug option to get the data of the item from your logs directly so you can adjust it yourself properly