Mojira Archive
MC-122821

Execute command to detect condition

These two execute command to detect condition dose not work appropriately in repeating command block, unless all the specific entities meet the same condition.

"If" Sub-command
Command : execute as @e[tag=test] at @s if block ~ ~-1 ~ minecraft:stone run summon arrow
I place Four armor stands with "test" tag on the grass block and One on the stone.Although one of them is on stone, "All" of them do not summon arrows. Unless I change the grass block below the four armor stands into stone, the command won't work.

Execute runs another execute
Command : execute at @e[tag=test] run execute as @a[distance=..2] run summon arrow
The condition is similar to the condition above. If I walk near any One of the armor stands within 2 blocks distance, they don't summon arrow, unless I place them together and make all of them are within 2 blocks distance away from me.

Duplicate

Jeff Syu

2017-12-02, 09:41 PM

2017-12-03, 12:08 PM

2017-12-03, 02:39 AM

0

0

Unconfirmed

command

Minecraft 17w48a

-