I hooked up a command block with the following command to a clock:
/execute @e[type=Player] ~ ~ ~ /testfor @e[type=MinecartRideable,r=1]
and found that the comparator going off that block was always on, whether or not I was within 1 block of a minecart (when I was the chat was spammed with "found entity messages). I know it's not really a bug since comparators usually measure the success of the first command in the block, but won't /execute always be a success so long as it finds the entity in question? (For those of you wondering, yes I am trying to make Payload).
Linked issues
duplicates 1
Comments 4
changed my original command so the minecart itself tests for players- no luck. I really hope this gets fixed soon because giving entities the ability to detect – and, by extension, react to – other entities would literally be a game-changer.
whoops, looks like this is a duplicate of MC-48449. That one says "fixed" but nothing about comparators reacting to the command being executed. Hope that's what the fix means... anyway, if a mod could resolve this it'd be great.
Yes, I discovered the same few minutes ago, would be very cool if this would be changed
By the way, same thing happens when using the testforblock/s -command... as expected