Minecraft Java Edition – No Redstone Signal from Command Block Using /testfor

minecraft-commandsminecraft-java-edition

If I have a command block that is repeating, unconditional, always active with the command /testfor @p[r=5] and I approach it, then why will not the redstone dust beside it be powered?

enter image description here

Best Answer

Command blocks on their own do not produce a redstone signal. You will need a comparator pointing out of it:

Comparator usage with command block