Custom world preset

World presets can be chosen in "World Type" button in "More World Options..." screen in "Create New World" to determine what dimensions the new world has.

Usage
When opening the "More World Options..." screen for the first time, the "World Type" button is displayed as "Default". In this case the new world does not use any world preset, but will use the three vanilla dimensions by default, and tries to read the dimension files from the dimension folder of the data pack. You can modify these three dimensions or add new dimensions with the dimension files, but you cannot delete these three vanilla dimensions.

Once the player clicks the "World Type" button, the game will use the world preset to determine the dimensions of the new world, no longer using the dimension folder. Changing the button back to "Default" will use the world preset, instead of the original default state. However, without the data pack, the default state is exactly the same as the "Default" preset.

The game also does not use world presets if custom world settings are imported.

JSON format
Custom world presets are stored as JSON files in data packs in.


 * : The root object.
 * : A collection of dimensions.
 * : A dimension.

Tags
To make a custom world preset appear in the "World Type" button, it must be added to the following tags:
 * : The world presets displayed in the "World Type" button.
 * : The world presets in the "World Type" button when holding down the key.

It is also necessary to define the display text with the key of in the language file in a resource pack.

World presets with settings
There are currently two world presets that have hardcoded settings screens where the overworld dimension can be customized. Includes (Superflat) and  (single biome).

Super Flat
When Super Flat is selected in the "World Type" button, clicking the "Customize" button opens the "Superflat Customization" screen, where you can directly change block of each layer, or click the “Presets” button to modify the superflat generator settings via preset code text.

Superflat Level Generation Preset
Clicking the "Presets" button to open the "Select a Preset" screen, you can modify the settings of the superflat generator through preset code text, or you can choose a "Flat Level Generator Preset (aka. Flat World Preset)".

Superflat level generation presets are stored as JSON files in.


 * : The root object.
 * : This icons. Must be an item ID.
 * : The settings for the generator of the superflat overworld.

To make a custom superflat level generation preset appear in the "Select a Preset" screen, it must be added to the tag. It is also necessary to define the display text with the key of in the language file in a resource pack.

Single Biome
Clicking the "Customize" button, and in the "Buffet world customization" screen, you can choose the single biome of the overworld.

History
自定义世界预设