Item Obliterator (Modpack Utils Series)

Item Obliterator (Modpack Utils Series)

15M Downloads

Blacklisting component data doesn't work

santastolle opened this issue ยท 2 comments

commented

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)

commented

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

commented

@nvb-uy I think I've found the issue here:


It does check if components are disabled, but it does not do anything with the return value. Pretty annoying.