Currently, the simplest vanilla command way to toggle score/tag values on players who are or are not within a given area is to use distance.
As an example.
For every player within ten blocks (distance..10) to the center of a radius add the tag "inside".
For every player outside of the radius of ten from the center (distance 10..) who has the tag inside, remove the tag inside.
This functions fine. But in the use case where players are in an area spanning from height limit to bedrock, the radius required is undesirably large on the length access. In this use case DX, DZ, DY is much preferred, the admin can target as high height as s/he needs and as narrow lengthwise as needed. However, the current command syntax only allows for targeting entities within a specified box with dx,dz,dy. There is no target for all entities NOT within dx,xz,dy. Which makes the selector just shy of its full potential.
Ideally, an admin can use this selector for spawn protection changing game mode on entering and exit. However, this selector cannot be used for this use case until a NOT operator is added. Please consider adding this functionality.
Please sign in to leave a comment.
1 Comments