#target all players that have an item in their offhand with custom_data
1 messages · Page 1 of 1 (latest)
<@&1201956957406109788>
Someone will come and help soon!
💬 While you wait, take this time to provide more context and details.
🙇 If nobody has answered you by <t:1733692766: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
[35mexecute [34mat [36m@s [34mrun [35meffect [34mgive [36m@e[33m[[37mnbt[34m=[32m![35m{[37mInventory[34m:[[33m{[37mSlot[34m:[32m-106b[34m,[37mid[34m:[32m"minecraft:amethyst_shard"[34m,[37mcomponents[34m:[35m{[32m"minecraft:custom_data"[34m:{[37mice_gem[34m:[32m1b[34m}[35m}[33m}[34m][35m}[33m] minecraft:slowness [32m1 3 [0mtrue
Although you should probably use execute if items
okay yea I think that fixed it
Even better: execute as @e unless items entity @s weapon.offhand amythest_shard[custom_data~{ice_gem:1b}]