Skip to content

Managing Dimensions

PssbleTrngle edited this page Feb 27, 2022 · 2 revisions

Every dimension can be configured to generate a skygrid. There are several default configurations, including the vanilla dimensions.

Additional or modified configurations can be included using Datapacks.

For example the configuration for the dimension somemod:thedimensions would be placed at data/somemod/skygrid/dimensions/thedimension.xml

Creating a custom dimension

In order to create a custom dimension generating a skygrid, you to create need a skygrid config file and a dimension json file in the datapack.

You can create custom dimensions using datapacks, as explained here. In order for it to generate a skygrid, the generator property of the JSON file should be set to the following:

{
   "type": {...},
   "generator": {
      "type": "skygrid:skygrid",
       "config": "namespace:theskygridconfig",
       "biome_source": {
         "type": "fixed",
         "biome": "minecraft:the_void"
       }
   }
}

Where namespace:theskygridconfig is the id of the skygrid config. The biome_source can be anything you want, this example uses a single biome-source of the void biome. The type of the dimension can be either a custom one, or a predefined type like "the_nether" or "overworld".

Examples for custom skygrid dimensions can be found here and there respective skygrid config files here

Adding a configuration for an existing dimension

Configurations for non-vanilla dimensions must also modify the respective dimensions JSON file mentioned above. You can keep the defined type, but must replace the generator property.

Clone this wiki locally