#How to check for specific data?
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1726782114:t>, feel free to use the Summon Helpers button to ping our helper team.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
Your question, #1286434615824744630 (How to check for specific data?), was resolved!
#1286434615824744630 message
17m
Ok actually I'll reopen this, I tried your syntax and it doesn't seem to work
Re-opened the channel. Make sure to close it again once you're done.
execute if data storage thing a.b{c: 3}
Oh ok
Or execute if data storage thing {a: {b: {c: 3}}} works as well, I think
But the first is easier to read imo
So, what is the use of {} in this syntax?
I mean, why do ywe use {} when we check but not before, does {} indicate that we check for a data?
The syntax for this is actually quite complicated
I would suggest reading the wiki page on NBT paths
Feel free to ask specific questions, but that page will give you a good overview
that page covers everything though, lol
Yes, but it might not all be clearly worded, and some things can be confusing without further examples