Wildcards
githubUser947 opened this issue · 4 comments
The mod fails to work with Wildcards(*, ?):
'?' is used in Optifine to denote that any character can be here.
Example: "Hello ?????" would work with 'Hello World', 'Hello There' and 'Hello ' but not 'Hello there!' or 'Hello here'.
'*' is used in Optifine to denote that any set of words can exist on the unspecified side.
Example: "Hello " would work with 'Hello World' and 'Hello There!' but not 'HelloThere!' or 'Hello'
", Hey!" would work with 'Herobrine, Hey!' but not 'Herobrine , Hey!' (Space before comma) or 'Hey, Herobrine'
These do not play well with this mod. Files and images will be shared below.
Suggested (?):
What I Gave (?):
What It Should Suggest/Try to (?):
What Is Suggested and works (*):
What also works:
the '?' wildcard in photo
type=item
items=paper
nbt.display.Name=ipattern:KC?
the '*' wildcard in photo
type=item
items=bundle shulker_box
nbt.display.Name=ipattern:*CardBox
The asterisk works fine but wildcard could use some tweaking.
Will fix it in next update.
Btw the "*" symbol is specially ignored because rename works fine without it.
I was planned to make a debug setting to show original nbt.dislay.Name value in tooltip for cases if bug like this will be triggered, and now im thinking about making extra info like "u can write anything at the end of this rename" in tooltip
Yes, Your Idea would solve the problem.
fixed in 0.7.0