Item Obliterator (Modpack Utils Series)

Item Obliterator (Modpack Utils Series)

15M Downloads

Question - How to read example "disable all swords" exactly [solved]

wantedkeks opened this issue · 2 comments

commented

Hej there,

I just discovered that fancy mod.
In general, I dont have major problems to use it disabling specific items or a group of items.

I wonder how to read the given example "!minecraft:.*_sword"
"" = that is one entry
minecraft = modid
_sword = end of item id

What tasks do the other tiles have?
! is telling what?
.* says what?

Firstly I am curious to read the code right.
In addition, I am also looking for how to blacklist yellow stuff or all "stained" (glass) as example.
"!minecraft:.*yellow%",
"!minecraft:.*stained%"
% = dont know how to fill the line correctly.

Thanks!

commented
commented

Thanks for the keyword, that helped!
"!minecraft:.*stained.*" now blacklists every stained (glass) stuff.

/closed