#Advancement (1.20.1)
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:1745578762: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
I don't think WFoaS triggers the Using Item criteria, because it's not a continuous use
a fungus or carrot is checked for continuous use by a scoreboard
Ooh but if I use score board then if someone right click with any warped_fungus_on_a_stick then the function will run
You need to check the component of the item in hand
Command?
I cannot use the nbt=SelectedItem
(1.20.1)
Oh, it's 1.20.1. you can use a predicate, just like in advancement
K
@fiery kayak
{
"condition": "minecraft:match_tool",
"predicate": {
"items": [
"minecraft:warped_fungus"
],
"nbt": "{stormcallers:1b}"
}
}
Is it correct?
No, you need to check the mainhand. and why "warped_fungus"?
Ahm can you make this for me pls
entity_properties > equipment > mainhand
Ok
What about this
{
"condition": "minecraft:entity_properties",
"name": "",
"entity": "this",
"predicate": {
"equipment": {
"mainhand": {
"items": [
"minecraft:warped_fungus_on_a_stick"
],
"nbt": "{stormcallers:1b}"
}
}
}
}
right, but remove "name"
Your question, #1365273471248109568 (Advancement (1.20.1)), was resolved!
#1365273471248109568 message
2d23h19m
# Minecraft Resource Pack folder structure
# Last updated: Jul 1, 2024
.
├── pack.mcmeta
├── pack.png
└── assets
├── icons
├── minecraft
│ ├── sounds.json
│ ├── atlases
│ ├── blockstates
│ ├── font
│ ├── icons
│ ├── lang
│ ├── models
│ ├── particles
│ ├── shaders
│ ├── sounds
│ ├── texts
| ├── textures
│ └── gpu_warnlist.json
└── realms
├── lang
└── textures