Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?

Generator Settings

20w21a

Table of Contents
Noise
size_horizontal and size_vertical
density_factor and density_offset
sampling
top_slide and bottom_slide
Structures
spacing and separation
salt

External Links

Noise

size_horizontal and size_vertical

Integers between 1 and 4.

size_horizontal
size_vertical

1 2 4
1 size_horizontal_1_vertical_1 size_horizontal_2_vertical_1 size_horizontal_4_vertical_1
2 size_horizontal_1_vertical_2 size_horizontal_2_vertical_2 size_horizontal_4_vertical_2
3 size_horizontal_1_vertical_3 size_horizontal_2_vertical_3 size_horizontal_4_vertical_3
4 size_horizontal_1_vertical_4 size_horizontal_2_vertical_4 size_horizontal_4_vertical_4

Surprisingly, when size_horizontal is 3, it generates this interesting pattern size_horizontal_3_vertical_1

density_factor and density_offset

When editing these values, you need to keep in mind the following formula.

terrain height = ((density_offset / density_factor) + 1) * height / 2
density_factor density_offset
0.5 -0.25 density_factor_0.5_offset_n0.25
1 -0.5 density_factor_1_offset_n0.5
2 -1 density_factor_2_offset_n1
4 -2 density_factor_4_offset_n2

sampling

xz_scale

0.25 1 8
scale_0_25_factor_80 scale_1_factor_80 scale_8_factor_80

Setting xz_scale to 0 will cause a flat surface.

xz_factor

20 80 320
scale_1_factor_20 scale_1_factor_80 scale_1_factor_320

top_slide and bottom_slide

WIP

target

size

offset

Structures

spacing and separation

spacing determines the maximum space in chunks between two structures of this type. separation determines the minimum space in chunks. spacing must be larger than separation. A grid pattern forms when spacing is one larger than separation.

separation
spacing

1 2 3
2 separation_1_spacing_2
3 separation_1_spacing_3 separation_2_spacing_3
4 separation_1_spacing_4 separation_2_spacing_4 separation_3_spacing_4
5 separation_1_spacing_5 separation_2_spacing_5 separation_3_spacing_5

salt

Determines the random placement of the structures after being combined with the seed.

@ManosSef

This comment has been minimized.

Copy link

ManosSef commented May 25, 2020

Whoa, did you actually try all these worlds?

@misode

This comment has been minimized.

Copy link
Owner Author

misode commented May 25, 2020

@ManosSef Haha yes. And a lot more then the screenshots for figuring it out first. I got a lot of help from the Minecraft Commands discord.

@SuperBio

This comment has been minimized.

Copy link

SuperBio commented May 25, 2020

Do you by chance know any default values for density_factor, density_offset, size_horizontal, size_vertical, xz_scale, xz_factor, y_scale, y_factor.
It looked like you had a normal world that you started with in some of the pictures.

@misode

This comment has been minimized.

Copy link
Owner Author

misode commented May 25, 2020

Here is a link to the world settings for vanilla dimensions with their default values.

For the overworld, the defaults are "density_factor": 1.0 and "density_offset": -0.46875

@SuperBio

This comment has been minimized.

Copy link

SuperBio commented May 26, 2020

Thanks, a ton! Outside of you I don't think anyone else actually had the default values. Now I can work on those floating islands!

@novo52

This comment has been minimized.

Copy link

novo52 commented May 27, 2020

Wow, those default values are the file I've been relentlessly scouring the internet for. Thanks!

@Parsistence

This comment has been minimized.

Copy link

Parsistence commented May 28, 2020

I'm curious, how did you find these default values?

@misode

This comment has been minimized.

Copy link
Owner Author

misode commented May 28, 2020

Amber on the Minecraft Commands discord looked at the source code to find these. If you're interested to join: https://discord.gg/QAFXFtZ

@Parsistence

This comment has been minimized.

Copy link

Parsistence commented May 28, 2020

Awesome, thanks!

@WandererRecee

This comment has been minimized.

Copy link

WandererRecee commented Jun 14, 2020

The stuff in that discord link is excellent. Thanks a ton for sharing that. However, I noticed it doesn't have the default biome parameters for overworld biomes. Do you happen to know where I may be able to find them? I was attempting to make a snowy dimension, but it's not using the biomes correctly, and some biomes are unused. I believe bad parameters are the problem.

@misode

This comment has been minimized.

Copy link
Owner Author

misode commented Jun 14, 2020

Overworld biomes don't use the multi_noise setting, thus they don't have biome parameters. Instead they use a hardcoded system vanilla_layered. You'll have to experiment a bit when you want a custom overworld biome distribution.

@HexBugOrion

This comment has been minimized.

Copy link

HexBugOrion commented Jun 22, 2020

Unfortunately the world preset generator is broken, I can't use it anymore. It's not up-to-date.

@misode

This comment has been minimized.

Copy link
Owner Author

misode commented Jun 22, 2020

@HexBugOrion Sorry for the delay. I have just implemented the missing features. It should now be up-to-date and working in 1.16 RC-1. Don't hesitate to mention if there is something unclear or not working 🙂

@retep998

This comment has been minimized.

Copy link

retep998 commented Jun 26, 2020

I'd like to know more about how density_offset works in the nether where the density_factor is 0 by default which would lead to division by zero in your formula.

@misode

This comment has been minimized.

Copy link
Owner Author

misode commented Jun 26, 2020

That is also the part that confuses me still. The formula is only an observation and a trick to make it easier to work with them. I believe you can see it as the baseline/terrain height being at infinity and the mountains spanning infinite blocks outwards. Thus creating a uniform distribution across the whole height.

@Kadeluxe

This comment has been minimized.

Copy link

Kadeluxe commented Jun 28, 2020

Where do I place this file for server jar?

@murder-assets

This comment has been minimized.

Copy link

murder-assets commented Jul 13, 2020

Anybody have the default Vanilla worldgen as a json for the new snapshot? I'm considering adding custom dimensions to an existing world but unsure how to do that safely.

@misode

This comment has been minimized.

Copy link
Owner Author

misode commented Jul 13, 2020

Slicedlime shared the default vanilla worldgen files in a tweet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.