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

If "/execute if" fails for one executing entity, it fails for all


    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 17w46a
    • Unconfirmed

      There is a bug with "/execute if" when you nest multiple arguments.
      For example, if you use a command like "/execute as @e[type=creeper] at @s if block ~ ~-1 ~ concrete run effect give @s levitation" you would normally expect that creepers that are standing on concrete will get the levitation effect and creepers that are not standing on concrete won't. Because of this bug even if only one creeper is not standing on concrete the execute fails for every single executing entity (creeper).
      I'm guessing that happens because the game proceses all selectors in an execute command first and determines if the execute was succesful later, instead of checking for each entity/selector individually.

            Unassigned Unassigned
            mc_da Minecraft by da
            0 Vote for this issue
            1 Start watching this issue