World / Server
paper/get_block
Get Block
Gets the material and state of a block at a given location.
Inputs
| Name | Type | Optional | Description |
|---|---|---|---|
location |
location | Block location. |
Outputs
| Name | Type | Description |
|---|---|---|
material |
string | Material name (e.g. STONE). |
isAir |
boolean | True if the block is air. |