get %who:PLAYER_POSSESSIVE% world
Returns the world a player is currently in.
set w to get player's world
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
get <who> world
get %who:PLAYER_POSSESSIVE% location
get player by (name|username) %name:STRING%
get player by (name|username) %name:EXPR%
get player by (uuid|unique id) %uuid:STRING%
get %op:PLAYER_POSSESSIVE% name
get %who:PLAYER_POSSESSIVE% x
get %who:PLAYER_POSSESSIVE% y
get %who:PLAYER_POSSESSIVE% z
get %who:PLAYER_POSSESSIVE% uuid
get %who:PLAYER_POSSESSIVE% (xp level|level)
get %who:PLAYER_POSSESSIVE% eye location
get %who:PLAYER_POSSESSIVE% direction x
get %who:PLAYER_POSSESSIVE% direction y
get %who:PLAYER_POSSESSIVE% direction z