# hbmspace:voronoi_plates

Plates separated by cracks.

For each column of the chunk in `biomes`, Voronoi cells of `cell_size` form plates separated by cracks up to `crack_size` wide. A plate rises from `start_y` by up to `thickness`, filling air and `fluid` blocks with `rock`, topped with `surface`. Use it with an empty placement list.

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `cell_size` | Cell size in blocks. | `[1, 256]` |
| `crack_size` | Edge distance below which a crack forms. | `f64` |
| `start_y` | Base height. | `i32` |
| `thickness` | Largest plate rise. | `[0, 256]` |
| `shape_exponent` | Exponent of the rise profile. | `f64` |
| `rock` | Plate block. | |
| `rock.Name` | Registered block ID. | |
| `rock.Properties` (Optional) | Block-state property names and string values. | |
| `surface` | Top block. | |
| `surface.Name` | Registered block ID. | |
| `surface.Properties` (Optional) | Block-state property names and string values. | |
| `fluid` | Fluid the plates displace. | |
| `fluid.Name` | Registered block ID. | |
| `fluid.Properties` (Optional) | Block-state property names and string values. | |
| `biomes` | Biome ID, `#tag` or ID list. | |

The top-level `type` selects this feature; `config` supplies the fields above.

## Example

Inline feature of `data/hbmspace/worldgen/placed_feature/moho/plates.json`:

```json
{
  "type": "hbmspace:voronoi_plates",
  "config": {
    "biomes": "hbmspace:moho_lava_sea",
    "cell_size": 27,
    "crack_size": 0.5,
    "fluid": {
      "Name": "minecraft:lava",
      "Properties": {
        "level": "0"
      }
    },
    "rock": {
      "Name": "hbmspace:moho_stone"
    },
    "shape_exponent": 2.0,
    "start_y": 62,
    "surface": {
      "Name": "hbmspace:moho_stone"
    },
    "thickness": 25
  }
}
```
