![]() |
VOOZH | about |
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.
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 uses the three vanilla dimensions by default, and tries to read the dimension files from the dimension folder of the data pack. In this case, the player can modify these three dimensions or add new dimensions with the dimension files, but they cannot delete these three vanilla dimensions.
Once the player clicks the "World Type" button, the game uses the world preset to determine the dimensions of the new world, no longer using the dimension folder. Changing the button back to "Default" uses the minecraft:normal world preset, instead of the original default state. However, without the data pack, the default state is exactly the same as the "Default" preset (minecraft:normal).
Custom world presets are stored as JSON files in the data pack directory structure, highlighted below:
minecraft:overworld object.
To make a custom world preset appear in the "World Type" button, it must be added to the following tags:
minecraft:normal: The world presets displayed in the "World Type" button.minecraft:extended: 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 generator.<namespace>.<name> in the language file in a resource pack .
There are currently two world presets that have hardcoded settings screens where the overworld dimension can be customized. Includes minecraft:flat (Superflat) and minecraft:single_biome_surface (single biome).
When Superflat is selected in the "World Type" button, clicking the "Customize" button opens the "Superflat Customization" screen, where the player can directly change block of each layer, or click the βPresetsβ button to modify the superflat generator settings via preset code text.
Clicking the "Presets" button to open the "Select a Preset" screen, the player can modify the settings of the superflat generator through preset code text, or they can choose a "Flat Level Generator Preset (aka. Flat World Preset)".
Superflat level generation presets are stored as JSON files in data/<namespace>/worldgen/flat_level_generator_preset/<name>.json.
To make a custom superflat level generation preset appear in the "Select a Preset" screen, it must be added to the minecraft:visible tag. It is also necessary to define the display text with the key of flat_world_preset.<namespace>.<name> in the language file in a resource pack .
Clicking the "Customize" button, and in the "Buffet world customization" screen, the player can choose the single biome of the overworld.
| Java Edition | |||||||
|---|---|---|---|---|---|---|---|
| 1.19 | 22w11a | World presets/types and superflat world presets in "Create World" screen can now be controlled by data packs. | |||||
New registry types worldgen/world_preset and worldgen/flat_level_generator_preset were added to data-driven presets (like "Amplified" or "Single Biome"). | |||||||