World / Server paper/get_block

Get Block

Gets the material and state of a block at a given location.

Inputs

NameTypeOptionalDescription
location location Block location.

Outputs

NameTypeDescription
material string Material name (e.g. STONE).
isAir boolean True if the block is air.