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". When creating a world in this case, the game will use the three default vanilla dimensions, and try to read the dimension files in the dimension folder.

Once the player clicks this button, the game will use the world preset to determine the dimensions of the new world, no longer considering the dimension folder. Changing the button back to "Default" will use the world preset, instead of the original default state.

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
自定义世界预设