Closed JiangZeOvO closed 1 year ago
The first parameter is of GreedyString type, and all subsequent parameters cannot be matched
Its vanilla behavior, since GreedyString is 'greedy' string that tries to get everything as string.
What should I do if I just want him to match a string without greedy matching
You'd use "word", it only captures letters and stops after a space
But if you want an item (as your screenshot suggests) you can use other argument types, e.g. "itemstack". You can see the documentation: https://github.com/senseiwells/EssentialClient/blob/main/docs/Full.md#commandbuilderfrommapargumentmap
What I need to deliver is the Chinese of the item
parameter "arguments" Type inside Is there a "String" type Instead of "GreedyString" If you create an instruction with two "GreedyStrings", it will not work eg: "Item" will also match the parameters of "int" in it, resulting in that "int" has no parameters to use