
[Feature request] "Is selecting" origin sub-command
JoshieGemFinder opened this issue ยท 1 comments
A command that exposes whether or not a player is currently selecting their origin would be very useful for functions/datapacks.
Since it isn't feasible to check whether or not a player/entity has
origins:empty
dynamically for each layer (automatically including/excluding any layers that are added or removed) using the current command set, this would be the best way for a function to check whether or not a player is currently selecting their origin.
This is relevant because there are many reasons a datapack would like to check whether or not a player is currently selecting their origin (e.g. a timer that only starts counting down after they've selected an origin, or players being put somewhere separate while selecting and moved once they're done)
The command would return 1
if the player is currently selecting their origin or 0
if they aren't; the command will fail if the entity doesn't exist. This is so the output can be properly read by execute [...] store [result/success] [...] run [...]
.