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.
Linked issues
Comments 0
No comments.