# hbm:ground_height

Projects template blocks onto terrain height.

Adds each template block's relative Y to the first free height above motion-blocking ground, excluding leaves and fluids, plus `offset`.

## Processor order

Height projection runs after every processor's per-block pass. Later per-block processors therefore see the unprojected position. Finalization follows processor-list order, so a processor finalized after `ground_height` sees the projected position.

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `processor_type` | Selects this processor. | |
| `offset` (Optional) | Y offset from the projected terrain height; default 0. | `i32` |

## Example

Source path: `data/hbm/worldgen/processor_list/meteor_spike_terrain.json`

```json
{
  "offset": -3,
  "processor_type": "hbm:ground_height"
}
```
