We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The pot_decorations component is allowed to be empty in item predicates, however, it errors when this is the case
pot_decorations
This advancement trigger works as expected, passing when the component is empty/just "brick" and failing when any sherds have been used
"criteria": { "requirement": { "trigger": "minecraft:placed_block", "conditions": { "location": [ { "condition": "minecraft:match_tool", "predicate": { "items": "minecraft:decorated_pot", "components": { "minecraft:pot_decorations": [] } } } ] } } }
The text was updated successfully, but these errors were encountered:
Another example of the error working
"components": { "minecraft:pot_decorations": [ "minecraft:scrape_pottery_sherd", "minecraft:sheaf_pottery_sherd" ] }
Sorry, something went wrong.
Sister issue: SpyglassMC/Spyglass#1742
No branches or pull requests
The
pot_decorations
component is allowed to be empty in item predicates, however, it errors when this is the caseThis advancement trigger works as expected, passing when the component is empty/just "brick" and failing when any sherds have been used
The text was updated successfully, but these errors were encountered: