# hbm:bedrock_ore

Places an extractable bedrock ore node and surrounding depth rock.

## Fields

| Field | Meaning and default | Range |
| - | - | - |
| `auto` | Uses the world's bedrock-ore density field to choose resource tier when true. | |
| `depth_rock` | Block state placed around the bedrock node. | |
| `depth_rock.id` | Registered block ID. | |
| `depth_rock.properties` (Optional) | Block-state property names and string values. | |
| `entries` | Weighted resource choices used when auto is false. | |
| `entries.item` | Item yielded by the selected resource. | |
| `entries.count` | Item count in the selected resource; use the item stack limit. | `i32` |
| `entries.color` | Integer display tint. | `i32` |
| `entries.tier` | Extraction tier. | `i32` |
| `entries.weight` | Relative selection weight; positive total at most `i32::MAX`. | `i32` |
| `host` (Optional) | Vanilla rule test selecting host blocks replaced by depth rock; defaults to a tag match on `minecraft:base_stone_overworld`. | |
| `host.predicate_type` | Vanilla rule-test type. | |
| `host.tag` (Optional) | Block tag for tag_match. | |
| `host.block` (Optional) | Block ID for block_match. | |

The top-level `type` selects this feature; the remaining fields belong beside it.

`depth_rock` replaces `host` matches and bedrock 1–2 blocks above the dimension floor, and bedrock 3–6 blocks above it, within 3 blocks horizontally of the origin.

## Example

Source path: `data/hbm/worldgen/feature/bedrock_ore_overworld.json`

```json
{
  "type": "hbm:bedrock_ore",
  "auto": true,
  "depth_rock": "hbm:stone_depth",
  "entries": []
}
```
