# hbm:bedrock_oil_deposit

Places a bedrock oil deposit and a surface scar.

## Fields

| Field | Meaning and default |
| - | - |
| `core` | Block state placed in the deposit. |
| `core.Name` | Registered block ID. |
| `core.Properties` (Optional) | Block-state property names and string values. |
| `replaceable` (since NTM 1.0.1) | Vanilla rule test selecting blocks replaced in addition to bedrock. |
| `replaceable.predicate_type` | Vanilla rule-test type. |
| `replaceable.tag` (Optional) | Block tag for tag_match. |
| `replaceable.block` (Optional) | Block ID for block_match. |
| `surface_scars` (Optional; since NTM 1.0.2) | Additional surface-scar replacements, tried in order after the built-in soil, sand and stone rules; the first matching target supplies its state. Default empty. |
| `surface_scars.target` | Vanilla rule test selecting replaceable blocks. |
| `surface_scars.target.predicate_type` | Vanilla rule-test type. |
| `surface_scars.target.tag` (Optional) | Block tag for tag_match. |
| `surface_scars.target.block` (Optional) | Block ID for block_match. |
| `surface_scars.state` | Block state placed at a matching target. |
| `surface_scars.state.Name` | Registered block ID. |
| `surface_scars.state.Properties` (Optional) | Block-state property names and string values. |

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

The deposit replaces [until NTM 1.0.1: bedrock][since NTM 1.0.1: bedrock and `replaceable` matches] at offsets `(dx, dy, dz)` from the dimension floor below the origin with $|dx| + dy + |dz| \le 6$, $|dx|, |dz| \le 4$ and $0 \le dy \le 4$.

## Example

Source path: `data/hbm/worldgen/configured_feature/bedrock_oil_deposit.json`

*NTM 1.0.0:*

```json
{
  "type": "hbm:bedrock_oil_deposit",
  "config": {
    "core": {
      "Name": "hbm:ore_bedrock_oil"
    }
  }
}
```

*NTM 1.0.1–1.0.4:*

```json
{
  "type": "hbm:bedrock_oil_deposit",
  "config": {
    "core": {
      "Name": "hbm:ore_bedrock_oil"
    },
    "replaceable": {
      "predicate_type": "minecraft:tag_match",
      "tag": "minecraft:base_stone_overworld"
    }
  }
}
```
