When selecting entities, it would be helpful to be able to explicitly exclude the executing entity (@s) Something along the lines of:
An example where this would be useful: Using invisible no-gravity armor stands as markers, check if there's another one with the same tag nearby. E.g.:
execute as @e[tag=magic_spawner] run kill @e[tag=magic_spawner,distance=..0.5,exclude=self]
That would remove duplicate "magic_spawner" markers in the same block.
Another useful option would be using negative limits to include all but x matching entities. I.e. where [limit=1] would get 1 entity,[limit=-1] would get all but 1 entity. If there were only 1 entity matching the other qualifiers, [limit=-1] would select zero entities.
Please sign in to leave a comment.