Mojira Archive
MC-122773

Execute cannot run a command at some entities

If you run an execute command that runs through multiple entities, and it has a condition, all executing entities must have the condition.

IE:
/execute as @e[type=arrow] at @s if block ~ ~ ~ minecraft:glass_pane run setblock ~ ~ ~ minecraft:air
will only have the arrows set the block relative to themselves to air IF all arrows are in a glass pane block.

Duplicate

??? ???

2017-12-01, 02:37 PM

2017-12-01, 02:40 PM

2017-12-01, 02:40 PM

0

1

Unconfirmed

Minecraft 17w45b - Minecraft 17w48aMinecraft 17w45b, Minecraft 17w46a, Minecraft 17w47a, Minecraft 17w47b, Minecraft 17w48a

-