movblock.mov

hbm:stratum_3d

Places blocks where three noise fields form a sparse 3D deposit.

Fields

FieldMeaning and defaultRange
domain_xNoise domain sampled on the Y/Z plane.
domain_yNoise domain sampled on the X/Z plane.
domain_zNoise domain sampled on the X/Y plane.
replaceableVanilla rule test selecting blocks to replace.
scale_hHorizontal noise sampling scale.finite \texttt{f64}
scale_vVertical noise sampling scale.finite \texttt{f64}
stateBlock state placed in the deposit.
thresholdMinimum product of the three noise values for placement.finite \texttt{f64}

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

since NTM 1.0.3Applies to NTM 1.0.3, 1.0.4.Shown because All revisions is selected.

Domain validation

Each domain used by domain_x or domain_z must keep the same axis and the same scale_h/scale_v pair across all loaded 3D-stratum definitions. domain_x and domain_z use distinct IDs, including when both scales are equal. Reusing a domain on the same axis with the same scales is supported.

Conflicts fail worldgen registry loading when the world opens. The error names the domain, both configured features, their axis fields and their sampling scales. domain_y may reuse a domain independently of these axis and scale restrictions.

Example

Source path: data/hbm/worldgen/configured_feature/stratum_bauxite.json

{
  "type": "hbm:stratum_3d",
  "config": {
    "domain_x": "hbm:noise/stratum_bauxite/x",
    "domain_y": "hbm:noise/stratum_bauxite/y",
    "domain_z": "hbm:noise/stratum_bauxite/z",
    "replaceable": {
      "predicate_type": "minecraft:tag_match",
      "tag": "minecraft:base_stone_overworld"
    },
    "scale_h": 0.03,
    "scale_v": 0.15,
    "state": {
      "Name": "hbm:stone_resource_bauxite"
    },
    "threshold": 300.0
  }
}

© 2026 movblock. Original site text is licensed under CC BY-SA 4.0 unless otherwise noted. Built with Fumadocs.

On this page