WorldGenClusterizer
基本信息
| 属性 | 值 |
|---|---|
| 路径 | mrtjp.core.world.WorldGenClusterizer |
| 类型 | class(extends TWorldGenerator) |
| 源码 | src/main/scala/mrtjp/core/world/WorldGenClusterizer.scala |
成簇生成器:把给定的「小结构」按簇群散布,可控制簇大小与间距。
关键点
TWorldGenerator.canSetBlock(w, x, y, z, material: Set[(Block, Int)]) 提供了
「只替换特定方块 / metadata」的判定,material 为空集时视为不限制。