Skip to content

Block Generation and Replacement

XYAT edited this page Oct 8, 2026 · 3 revisions

English | 简体中文

World block generation and replacement

The World Blocks module has dedicated editors for generation bans, fixed replacement, and weighted replacement.

  • Generation bans: select exact blocks or create block-tag/mod rules to exclude matching blocks during generation.
  • Fixed replacement: select one or more source blocks, click Done, and choose the final target block.
  • Weighted replacement: select a source and several targets, then assign each target a positive weight. A target's share is its weight divided by the total.
  • Replacement chance and target weight serve different purposes: chance decides whether replacement occurs, while weights select a target after a successful replacement roll.
  • Use source/target groups and searches to manage duplicate ores or other generated blocks in a large modpack.

For example, a weighted rule can replace a source with stone and deepslate at weights 3 and 1. Among successful replacements, their shares are 75% and 25%; these shares do not replace the rule's own replacement-chance setting.

Saved block rules affect subsequent generation. Existing terrain is handled only by the separate loaded-chunk replacement feature described below.

The block browsers and replacement-rule rows use checker-backed previews with complete icons. Cells keep a gap; clicking that gap does not select a block. Fewer columns fit in narrow panels, while the search, rule expansion, weight and replacement-chance controls retain their positions.

Clone this wiki locally