A custom biome injection mod
You can find examples for each object type in the "Examples" folder.
Each object type has its own JSON extension
- BiomeGroup:
*.group.json
- Biome:
*.biome.json
- MapGenerator:
*.generator.json
- TerrainLayer:
*.layer.json
Similarly to the Block Injector, the folder hierarchy is not important and assets are referenced by name (either filename for texture or the "name" field in JSON for objects) so just be sure to have a unique name for your assets.
Custom biomes files need to go in the Custom Biomes
folder inside the TerraTech installation folder (will be automatically created when starting the game with the mod enabled)
MapGenerators have a lot of variables and their meaning is not always very clear. For more information about the generation algorithms see the notes.
You can export vanilla biome related objects by pressing Ctrl+L
.
The exported files will appear in the Export
folder of the mod folder (QMods/Nuterra.Biomes/Export
)
In Visual Studio Code in the menubar go to File > Preferences > Settings
Then when in the settings go to Extensions > JSON
Then search for Schemas
and click Edit in settings.json
Then copy/paste this at the end:
"json.schemas": [
{
"fileMatch": [
"*.biome.json"
],
"url": "https://raw.githubusercontent.com/Exund/Nuterra.Biomes/master/SCHEMAS/Biome.schema.json"
},
{
"fileMatch": [
"*.generator.json"
],
"url": "https://raw.githubusercontent.com/Exund/Nuterra.Biomes/master/SCHEMAS/MapGenerator.schema.json"
},
{
"fileMatch": [
"*.layer.json"
],
"url": "https://raw.githubusercontent.com/Exund/Nuterra.Biomes/master/SCHEMAS/TerrainLayer.schema.json"
},
{
"fileMatch": [
"*.group.json"
],
"url": "https://raw.githubusercontent.com/Exund/Nuterra.Biomes/master/SCHEMAS/BiomeGroup.schema.json"
}
]