[get] %b:BLOCK% world
Returns the world the block is in.
set w to block world
Every distinct way you can write this pattern, with optional groups and choice groups expanded. Placeholders are shown as <name>.
<b> world
get <b> world
[get] block at %loc:LOCATION%
[get] %b:BLOCK% type
[get] %b:BLOCK% location
[get] %b:BLOCK% (x|y|z)
[get] %b:BLOCK% light level
[get] %b:BLOCK% data [string]
get pdc %key:STRING% of %bl:BLOCK%