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

1

Add a possibility to execute a command targetting all mobs

1 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 0
    Registered User commented
    Comment actions Permalink

    If you're a Bedrock Edition player (which most of the members on this website seem to be), you can do this already with the family target selector argument. This means you can do this:

    /kill @e[family=!inanimate,type=!player]

    to target all non-player mobs.