-
-
Notifications
You must be signed in to change notification settings - Fork 43
feat: NBT Tag matching (1.19.2) #486
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: 1.19.2
Are you sure you want to change the base?
Conversation
|
With the last few commits I introduced grammar for NBT matching, this grammar is not fully compliant with the JMESPath querry language, so the user is still able to use a String to write more complex / not implemented statements. |
|
Also because we use getTag in this version of minecraft we can querry less than the minecraft 1.21 version would be able to do with the components, such as stack count or the entire item state. getTag also return values using PascalCase while the components use lowercased. This will mean that any matching written up to 1.20.4 will likely require minor tweaks for 1.21+ |
No description provided.