Introduction
There are 2 config files for CobbleGen:
cobblegen.json5
- Where you define the generatorscobblegen-meta.json5
- To configure CobbleGen’s behaviour
Every config file must be wrapped by {}
otherwise it won’t be valid, for example:
{ "cobbleGen": [ { "id": "minecraft:cobblestone", "weight": 100.0 } ], // Be sure to define the config format version to prevent breakage in the future "formatVersion": "1.1"}
In the future, CobbleGen will start using TOML instead of JSON to make it a lot easier for people to write the config. Check out GH-53 for the latest draft.
There are 2 config files for CobbleGen:
cobblegen.toml
- Where you define the generatorscobblegen-meta.toml
- To configure CobbleGen’s behaviour
[[cobblegen]]id = "minecraft:cobblestone"weight = 100.0
External links
- json-5.com - Online JSON(5) validation and formatter, in case you don’t want to install any software