This target selector determines the nearest entity. Unlike the @p target selector, this selector is not limited to players.
- This functions as
@e[sort=nearest,limit=1]. - Additional requirements may still be provided; for example:
@n[type=pig]will select the closest Pig.
Please sign in to leave a comment.
1 Comments