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