Skip to content

Adding Custom Biomes or Structures

28Pollux28 edited this page Apr 21, 2021 · 4 revisions

How to add Custom Biomes ?

In the config file (../config/imggen.json) you'll find a category named customBiomes that will look like this :

"customBiomes": [
    {
      "biomeID": "modid:biomeid",
      "RGB": "0x000000"
    },
    {
      "biomeID": "modid:biomeid",
      "RGB": "0xFFFFFF"
    }
  ]

From this point simply replace the modid:biomeid by the modid and biome-id given by the mod. For example, if you wanted to add the plains biome, you would write minecraft:plains.

You'll then need to precise an RGB code, in the format 0xRRGGBB where RRGGBB is the hexadecimal code of your color.

Can I add more than 2 custom biomes ?

Of course ! Simply copy-paste a biome block and insert it between the two [ - ]:

 "customBiomes": [
    {
      "biomeID": "modid:biomeid",
      "RGB": "0x000000"
    },
    {
      "biomeID": "modid:biomeid",
      "RGB": "0xFFFFFF"
    },
    {
      "biomeID": "mymodid:mybiomeid",
      "RGB": "0xABCDEF"
    }
  ]

Don't forget to put a comma after each biome block, except for the last one, as in the example code above. You can also delete or modify the 2 example biome blocks, as they are not processed by the mod.

Errors and problems

You cannot assign a color code that is already in use by an other biome to a biome. In the same way, it is not possible to assign a biome to multiple color codes

How to add Custom Structures ?

In the config file (../config/imggen.json) you'll find a category named customStructuresRGB that will look like this :

"customStructuresRGB": [
    {
      "biomeID": "modid:structureid",
      "RGB": "0x000000"
    },
    {
      "biomeID": "modid:structureid",
      "RGB": "0xFFFFFF"
    }
  ]

From this point simply replace the modid:structure by the modid and Configured Structure Feature id given by the mod. For example, if you wanted to add the plains biome, you would write minecraft:plains.

You'll then need to precise an RGB code, in the format 0xRRGGBB where RRGGBB is the hexadecimal code of your color.

Can I add more than 2 custom structures ?

Of course ! Simply copy-paste a structure block and insert it between the two [ - ]:

 "customStructuresRGB": [
    {
      "biomeID": "modid:structureid",
      "RGB": "0x000000"
    },
    {
      "biomeID": "modid:structureid",
      "RGB": "0xFFFFFF"
    },
    {
      "biomeID": "modid:structureid",
      "RGB": "0x000000"
    }
  ]

Don't forget to put a comma after each structure block, except for the last one, as in the example code above. You can also delete or modify the 2 example structure blocks, as they are not processed by the mod.

Errors and problems

You cannot assign a color code that is already in use by an other structure to a structure. In the same way, it is not possible to assign a structure to multiple color codes

Clone this wiki locally