When i want to tag an specific item with the scoreboard tag command it doesnt work. When i do it myself with
/scoreboard players tag @e add isDropper {Item:{id:minecraft:dropper}}
But when i do this:
/execute @e[name=CAS,type=ArmorStand] ~ ~ ~ detect ~ ~ ~ air 0 scoreboard players tag @e[type=Item,r=1] add isDropper {Item:{id:minecraft:dropper}
it doesnt work.
Thanks for help or for the bugfix!
Comments 5
If that is my problem Ill cry a river.
I just want to give all droppers in a radius of 1 from the Crafting ArmorStand(CAS) a tag to kill them then.
Doesn't matter, as long as it's not buried in another block.
/execute @e[name=CAS,type=ArmorStand] ~ ~ ~ detect ~ ~ ~ air 0
That's checking the block the armor stand is standing in, not the block it's standing on top of.
Works fine for me – as long as you format your command correctly. Your second example is missing a closing curly brace.
I'm not exactly sure what you're trying to do, or even what problem you're experiencing. That's why the default issue text includes sections for what you expected to happen, and what actually happened. If you still can't get it to work after double-checking that you've entered the command correctly, please describe what you're building, provide screenshots if relevant, and explain what it is that you're trying to do.