Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-196343

execute / tag command glitch

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 20w30a
    • None
    • os : win10
    • Unconfirmed
    • (Unassigned)

      I was Trying to make Staffs With Commands (yeah how original !) but I have encountered this issue;

      The commands :

       Repeat type Command Block :

      • execute as @e[tag=Spell] run execute at @e[tag=Spell] if entity @e[type=!minecraft:player,type=!item,distance=..1,tag=!Spell] run tag @s add used

      *Chain type Command Block : (*always active, Conditional)

      • kill @e[tag=used]

       

      Now this is what happens:

      1. I use the carrot on a stick that launches an invisible Armor Stand with particles and #Spell Tag
      2. it goes on forever until gets close enough to an entity (1 block or less)
      3. Armor Stand gets killed by the chain command block

      The issue is :

      All the Other Armor stands gets killed even though the command Says "tag @s add used"

       

      The Video If you didn't understand what I meant bc my grammar is broken asf : Click Here

       

      PS: I am not really good at commands so if there is a wrong part in the command please correct me

            Unassigned Unassigned
            Quidney The Quidney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: