Cobblegen Wiki › Guides › Configure basalt and stone generators separately
Configure basalt and stone generators separately
Use separate config entries
You can define different generators for different block types in the same cobblegen.toml file. Each [[cobblegen]] section is independent, so you can create custom outputs for cobblestone, basalt, and stone all at once.
Example multi-generator setup
`
[[cobblegen]]
id = "minecraft:cobblestone"
weight = 100.0
[[cobblegen]]
id = "minecraft:basalt"
weight = 80.0
[[cobblegen]]
id = "minecraft:blackstone"
weight = 20.0
`
This creates a single generator that produces all three block types with different probabilities.
Reload and verify
Run /reload after editing. Your generator will now pull from all defined blocks. If you want to fine-tune which blocks appear most often, adjust the weight values and reload again. Higher weights mean more frequent output.