
Question - How to read example "disable all swords" exactly [solved]
wantedkeks opened this issue · 2 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!
Please search about Regular Expressions (regex) in Google. This isn’t exactly something from Item Obliterator, it’s a standard way of matching strings
…On Thu, Dec 5, 2024 at 8:02 PM, wantedkeks ***@***.***(mailto:On Thu, Dec 5, 2024 at 8:02 PM, wantedkeks <<a href=)> wrote:
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 as example.
"!minecraft:.*yellow%"
% = dont know how to fill the line correctly.
Thanks!
—
Reply to this email directly, [view it on GitHub](#85), or [unsubscribe](https://github.com/notifications/unsubscribe-auth/AZFMTEAXTB3RKUH2OQIGVPL2EDLPHAVCNFSM6AAAAABTDQMKCSVHI2DSMVQWIX3LMV43ASLTON2WKOZSG4ZDCNRSGI2DSMA).
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>