I have this code:

tell @a[name=mpboom,r=2] hey

In a command block with this properties:

Repeat - Unconditional - Always Active

My name is mpboom. But if I come close, within the 2-block radius, it will do nothing.

Is my computer bugged, is the game bugged, or is my code wrong?

I am playing on Vanilla Minecraft 1.10.2 on Windows. It is in Singleplayer.

For anyone who does not understand yet, I want to make this command block say 'hey' ONLY to me (mpboom) if I am in a radius of two blocks.

Thank you!

  • Try putting /say Test into the command block and see if anything happens. It may be that the command block is not running.
    – SirBenet
    Aug 26, 2016 at 16:39
  • I did /tell test (that is the same right?) and it gave just the output you would expect.
    – mpboom
    Aug 26, 2016 at 16:41
  • Do you have the leading / in the command block? I have a feeling that's required now.
    – MBraedley
    Aug 26, 2016 at 16:42
  • The output I'd expect for "/tell test" is for that not to work because of invalid syntax. Try /say Test, or /tell @a Test.
    – SirBenet
    Aug 26, 2016 at 16:42
  • 1
    Thanks for your help! I fixed it while trying to narrow it down! I will post the answer below! Thanks!
    – mpboom
    Aug 26, 2016 at 17:01

1 Answer 1


The problem was that I was approaching the command block from beneath. You have to be above the command block or it would not detect you with the r=2 selector. I think this might have something to do with that I was standing with my feet on the ground and the r=2 looks at where your feet are.

  • I will accept it, I just have to wait 8 more hours...
    – mpboom
    Aug 28, 2016 at 8:07

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .