Closed MWHunter closed 2 years ago
Yeah, since Minecraft 1.18 terrain height is decoupled from the biome height. If you need to edit the terrain height, either you need to do that using a datapack (expanded vanilla datapack can be downloaded at https://github.com/slicedlime/examples/blob/master/vanilla_worldgen.zip ), or you need to write a terrain shape generator from scratch. :(
If you want to go through the datapack route: you'll need to edit noise
and noise_router
in data/minecraft/worldgen/noise_settings/overworld.json
. Unfortunately, that data structure is so complex that you'll realistically need a script to modify it.
Random noise: https://cdn.discordapp.com/attachments/881238992203440253/952468647157305405/2022-03-13_01.29.41.png Fixed noise: https://cdn.discordapp.com/attachments/881238992203440253/952470728224145488/2022-03-13_01.38.11.png
I edited in NoiseSampler.java using MCP-Reborn public Climate.TargetPoint target(int p188977, int p188978, int p188979, NoiseSampler.FlatNoiseData p188980) {
and controlling these noises controls the world gen fine on 1.18. Thanks for the help.
I'm currently trying to generate an earth map by setting biomes. However, despite setting biomes, they don't seem to affect generation. This is what generates: https://i.imgur.com/wuh1D7n.png
I've copied and pasted the code from https://github.com/rutgerkok/WorldGeneratorApi/wiki/Adjusting-the-vanilla-biome-generator