[MC-11874] Command Block "testfor @p[r=radius]" doesn't seem to work Created: 15/Mar/13  Updated: 03/May/15  Resolved: 15/Mar/13

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.5
Fix Version/s: None

Type: Bug
Reporter: mitterdoo Assignee: Unassigned
Resolution: Works As Intended Votes: 0
Labels: block, redstone
Environment:

Windows Vista Home Premium


Issue Links:
Duplicate
is duplicated by MC-61923 Comparator output stuck on Resolved
Confirmation Status: Unconfirmed
Game Mode: Creative

 Description   

I believed I would be able to detect a player that is within 10 blocks of a command block. I had a comparator pointing away from the block with redstone in front of it.

It didn't work though. I stepped on the command block and no redstone signal was given.

Reproducing this bug:
Place a command block with the command "testfor @p[r=10]"
Place a comparator pointing away from the command block
Place redstone in front of the comparator



 Comments   
Comment by mitterdoo [ 15/Mar/13 ]

Oh. I guess I completely forgot how to use these command blocks. Lol. Sorry for the trouble.

Comment by Tails [ 15/Mar/13 ]

You need to activate the command block for it to execute the command.

Generated at Sun Jan 12 12:29:04 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.