movblock.mov

hbm:ore_host

Skips an ore chain when its host cannot occur within reach.

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

Filters positions for a configured feature using vanilla ore configuration. It checks whether the host may occur in the current chunk or its eight neighbours, within the origin height band expanded by the vein's reach. Passing the filter preserves the position and consumes no randomness.

Place this filter before the count and height modifiers. Set its height band to the inclusive origin range used by the following height modifier. The eight built-in gneiss ore placements use hbm:stone_gneiss and Y 30–39.

Fields

FieldMeaning and defaultRange
typehbm:ore_host.
hostRegistered host block ID.
min_yInclusive minimum ore-origin Y coordinate.\texttt{i32}
max_yInclusive maximum ore-origin Y coordinate.\texttt{i32}

Example:

From data/hbm/worldgen/placed_feature/ore_gneiss_iron.json:

{
  "feature": "hbm:ore_gneiss_iron",
  "placement": [
    {"type": "hbm:world_config", "switches": ["overworld_ores"]},
    {"type": "hbm:ore_host", "host": "hbm:stone_gneiss", "min_y": 30, "max_y": 39},
    {"type": "minecraft:count", "count": 25},
    {"type": "minecraft:in_square"},
    {"type": "minecraft:height_range", "height": {
      "type": "minecraft:uniform",
      "min_inclusive": {"absolute": 30},
      "max_inclusive": {"absolute": 39}
    }},
    {"type": "minecraft:biome"}
  ]
}

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

On this page