Bedrock currently supports custom worldgen via data-driven biomes, and it's the only way to modify worldgen. Scripting API should also be allowed to install custom hooks to world generation steps.
Example use case:
Let's say we are to add in a new ore block, Copper Ore. It doesn't spawn like iron or gold ore but has a special spawning rule.
- Similar to slime chunks, a chunk has a 20% chance of being copper chunk, regardless of biomes.
- Copper veins can only appear in copper chunks.
- For each copper chunk, a random Y coordinate and a random radius are chosen.
- Stone blocks in a spherical area determined by the chosen values will be replaced with copper ore blocks.
These kind of spawning rules can only be represented as code. Data-driven models only work well for simple cases.
Please sign in to leave a comment.