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

2

Minimum and Maximum [Limit] Selectors

2 Comments

Please sign in to leave a comment.

Sorted by oldest
  • 1
    Registered User commented
    Comment actions Permalink

    c refers to count, example kill@e[c=10] kills 10 entities

  • 0
    Registered User commented
    Comment actions Permalink

    I should've clarified that I am playing in Java 1.16.3 so c= isn't a thing, also I was suggesting being able to have a minimum in the same way [distance=100..150] works. As right now I am needing to make good sized redstone contraptions to separate and double check that there are 4 players for a minigame. A min and/or max would allow all that to go into one or two command blocks and not need to teleport the players to check. It also makes it a lot easier when dealing with larger amounts of players or entities such as 32.

    A command similar to this is what I am wanting to be possible where when activated will only teleport a set amount of players, no more or less, and can be done easily:

    "/tp @a[limit=4..4,distance=..2,sort=nearest] # # #"