# hbmspace:bedrock_floor

Keeps noise caves above the bedrock floor.

The density function is 1 at and below `true_at_and_below`, -1,000,000 at and above `false_at_and_above`, and between them 1 with a probability falling linearly to 0. It draws the same positional random as a vanilla `vertical_gradient` surface condition with the same name and bounds, so `max(…, bedrock_floor)` keeps noise caves out of the surface rule's bedrock.

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `type` | `hbmspace:bedrock_floor`. | |
| `random_name` | Positional random name, matching the bedrock surface condition. | |
| `true_at_and_below` | Highest Y that is always solid. | `i32` |
| `false_at_and_above` | Lowest Y that is never forced solid. | `i32` |

## Example

From `data/hbmspace/worldgen/noise_settings/mun.json`:

```json
{"type": "hbmspace:bedrock_floor", "false_at_and_above": 5, "random_name": "minecraft:bedrock_floor", "true_at_and_below": 0}
```
