# 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.Name` | 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; since NTM 1.0.2) | 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; `config` supplies the fields above.

`depth_rock` replaces [until NTM 1.0.1: stone, deepslate, netherrack][since NTM 1.0.1; until NTM 1.0.2: `#minecraft:base_stone_overworld` blocks][since NTM 1.0.2: `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/configured_feature/bedrock_ore_overworld.json`

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