#Command Bug
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
💬 While you wait, take this time to provide more context and details.
✅ Once your question has been resolved (or you no longer need it), please click Resolve Question or run /resolve
<@&1166082198152159386> <@&1202694677766348840>
Please note that you still might not immediately get a response since all helpers are human beings and volunteers (and also might be sleeping right now)
Because your if entity target selector is using @a again. It should be using @s, because you've already set the executing entity as @a.
Also, you shouldn't be using NBT checks for items in target selectors. You can use if items instead
can you wirte the cmd plz 😵💫
No, but you can try to write it yourself and we can go through it
is it Perfect ? execute as @a at @s if entity @s[tag=gz-a4-boost] if items entity @s weapon.mainhand diamond_pickaxe run item modify entity @s weapon.mainhand gamerz_riot:diamond_boost
Looks pretty good
will ti casue that above bug ?
execute as @a at @s if entity @s[tag=gz-a4-boost] This sagment good or you can thing something else?
Now how can I detect the Diamond tools taht are effected and Modify thair componets again to axe compnents
Give them custom data in the item modifier, and check for that custom data in the if items
Where from can I get default miencraft's Item Modifires ?
This is the game's output of all of the default item components. It's quite long, so you'll need to CTRL + F to find what you want
https://github.com/misode/mcmeta/blob/summary/item_components/data.json
I added this data in modifire. Now how can i detect it with command?
"minecraft:custom_data": {
"diamond_pickaxe_modified": {}
}
Your question, #1339791445288161383 (Command Bug), was resolved!
#1339791445288161383 message
4h44m
This post has 5 tags, which is the maximum. Please remove one tag and then try again.