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

Execute Command works not as intended

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • Minecraft 15w36c
    • None
    • Unconfirmed

      If i type in this Command to give every ArmorStand(CAS) a score when they succesfully do a command it only saves it in the ArmorStand data that is the nearest to the command bock which is doing the execute command.

      execute @e[name=CAS,type=ArmorStand] ~ ~ ~ stats entity @e[name=CAS,c=1] set SuccessCount @e[name=CAS,c=1] Success

      i want to to customcrafting and my commands are the following:

      scoreboard players set @e[name=CAS] Success 0
      execute @e[name=CAS] ~ ~ ~ testforblock ~ ~ ~ minecraft:dropper -1 {Items:[{Slot:0b,id:"minecraft:sandstone",Count:1b}]}
      execute @e[name=CAS,type=ArmorStand] ~ ~ ~ stats entity @e[name=CAS,c=1] set SuccessCount @e[name=CAS,c=1] Success
      execute @e[score_Success_min=1] ~ ~ ~ say Heyo1
      execute @e[name=CAS,score_Success_min=1] ~ ~ ~ blockdata ~ ~ ~ {Items:[{Slot:0b,id:"minecraft:air",Count:1b},{Slot:1b,id:"minecraft:air",Count:1b},{Slot:2b,id:"minecraft:air",Count:1b},{Slot:3b,id:"minecraft:air",Count:1b},{Slot:4b,id:"minecraft:air",Count:1b},{Slot:5b,id:"minecraft:air",Count:1b},{Slot:6b,id:"minecraft:air",Count:1b},{Slot:7b,id:"minecraft:air",Count:1b},{Slot:8b,id:"minecraft:air",Count:1b}]}

      it just says Heyo1 for testing reasons.

      If you wanna see how the command blocks are built look at the photo.

      thank you if you can help me!

            Unassigned Unassigned
            UNFORG3TTABLES Johann Bartel
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: