Can you tell me what command should work to kill the items thrown nearby?
And what command if it needs to detect 2 items with the same custom name to activate the redstone?
/kill @e[type=minecraft:item,x=11,y=71,z=110,distance=..2,nbt={Item:{tag:{display:{Name:"{\"text\":\"Blade\"}"}}}}] run setblock 9 74 111 minecraft:redstone_block
To kill the item. Im not sure how two swords will work. I tried using count=2 but idk if that works. I think you might have to create a mini scoreboard. Tally up how many swords are alive, then execute and activate if scores = 2
/kill @e[type=minecraft:item,x=11,y=71,z=110,distance=..2,nbt={Item:{tag:{display:{Name:"{\"text\":\"Blade\"}"}}}}] run setblock 9 74 111 minecraft:redstone_block
To kill the item. Im not sure how two swords will work. I tried using count=2 but idk if that works. I think you might have to create a mini scoreboard. Tally up how many swords are alive, then execute and activate if scores = 2
It works like a charm.
Can you tell me what command should work to kill the items thrown nearby?
And what command if it needs to detect 2 items with the same custom name to activate the redstone?
Thanks
/kill @e[type=minecraft:item,x=11,y=71,z=110,distance=..2,nbt={Item:{tag:{display:{Name:"{\"text\":\"Blade\"}"}}}}] run setblock 9 74 111 minecraft:redstone_block
To kill the item. Im not sure how two swords will work. I tried using count=2 but idk if that works. I think you might have to create a mini scoreboard. Tally up how many swords are alive, then execute and activate if scores = 2
ok, thank you for all this!
*
Vote for these servers at the biggest Minecraft servers list
User, why did you bump this