Skip to content

A worldgen feature

Status: Planned. An ore or structure feature placed by worldgen. Nothing on this page is in the API yet; the names in the final API may differ.

What this will cover

This guide will write a feature in code and place it through data once the worldgen API exists (World generation).

What you can do today

  • Vanilla feature types configured by data: datapack/<ns>/worldgen/configured_feature/ and placed_feature/ (for example an ore feature with a vanilla ore block), added to biomes through the data pack.
  • Mod blocks can’t be placed by worldgen yet (they are vanilla-backed: worldgen would place the base block).