Sign in
Skip to main content

Commands let players perform actions and customize gameplay using text-based instructions. Use this topic to share feedback and ideas for improving commands and related tools.

7

Being able to target the nearest entity with commands

3 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    I just realised that you can do @e[r=1] (maybe [r=2] if that doesn't work), but it would still be better for players who aren't very expirienced with commands (like me) to understand so I still think that this should be in the game.

    Edit: Do [r=2] I don't think [r=1] will work

  • 1
    Registered User commented
    Comment actions Permalink

    How bout @m

  • 0
    Registered User commented
    Comment actions Permalink

    You can do it now.

    @e[sort=nearest,limit=1]