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.

3

Kill/teleport nearest entity of type...

2 Comments

Post a new comment:

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    if it only kills one thing, then you can just break it

  • 1
    Registered User commented
    Comment actions Permalink

    Command isnt that complicated. Just use:

    /kill @e[type=(whatever type the mob should be), limit=1, sort=nearest]

    limit can be higher than one, in this case, the e.g. 3 nearest mobs are targeted.