Repository navigation
Block Generation and Replacement
XYAT edited this page Oct 3, 2026
·
3 revisions
English | 简体中文
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.
English
- Tutorial overview
- Installation and access
- World block generation and replacement
- Optional one-time replacement in existing chunks
- Structures
- Structure editor and mega structures
- Biomes
- Beacon areas
- Teleport authorization and commands
- Files and application scope
- Version-specific item data
简体中文