We've split up the commands, scripting and mods, and add ons category! Please be sure you get your thread in the right place.

7

Being able to target the nearest entity with commands

3 Comments

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]