Question - How to read example "disable all swords" exactly [solved]
wantedkeks opened this issue · 6 comments
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!
The config file works perfectly fine as of now, albeit very cluttered due to the amount of items removed, but attempting to do anything involving regex just doesn't work. I did see another issue later on that talked about this, so i'm inclined to believe that it's likely not a fault of mine when it comes to formatting.
If regex really isn't working anymore then there's simply nothing I can do at the moment until the mod gets updated to fix that, but in either scenario I appreciate the response!
Thanks for the keyword, that helped!
"!minecraft:.*stained.*" now blacklists every stained (glass) stuff.
/closed
@pedro9006 it's right there in the comments for use_hashmap_optimizations,
if it's true then regex will NOT work.

