How to modify terrain generation for custom my dimension? (Change terrain height.).

Started by OrangeAedan on

Topic category: Help with Minecraft modding (Java Edition)

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to modify terrain generation for custom my dimension? (Change terrain height.).
Sun, 06/28/2026 - 16:16 (edited)

I am making a custom dimension. And its way taller. I want my dimension to generate taller mountains. I am talking 1000+ blocks tall at most. I have tried for hours. But nothing I changed, seemed to have a meaningful effect. Optimally I want:

  • Taller mountains to be able to generate.
  • Wider terrain. Wider peak and high areas.
  • If possible making peak areas rarer.

I tried crazy high values like 10000, but it still didn't seem to change anything ever. I don't get why. Is this possible? Thanks for helping! This is my code:

{
  "type": "solarworldplus:earth",
  "generator": {
    "type": "minecraft:noise",
    "biome_source": {
      "type": "minecraft:multi_noise",
      "biomes": [
        {
          "biome": "solarworldplus:earth_taiga_plains",
          "parameters": {
            "temperature": 0,
            "humidity": 0,
            "continentalness": 0,
            "weirdness": 0,
            "erosion": 0,
            "depth": 0,
            "offset": 0
          }
        },
        {
          "biome": "solarworldplus:earth_taiga_mountains",
          "parameters": {
            "temperature": 0,
            "humidity": 0,
            "continentalness": 0,
            "weirdness": 0,
            "erosion": 0,
            "depth": 0,
            "offset": 0
          }
        }
      ]
    },
    "settings": {
      "name": "solarworldplus:earth",
      "sea_level": 63,
      "legacy_random_source": false,
      "disable_mob_generation": false,
      "aquifers_enabled": true,
      "ore_veins_enabled": false,
      "default_block": {
        "Name": "minecraft:stone"
      },
      "default_fluid": {
        "Name": "minecraft:water",
        "Properties": {
          "level": "-1000"
        }
      },
      "spawn_target": [],
      "noise": {
        "min_y": -848,
        "height": 2064,
        "size_horizontal": 1,
        "size_vertical": 2
      },
      "noise_router": {
        "barrier": 0,
        "fluid_level_floodedness": 0,
        "fluid_level_spread": 0,
        "lava": 0,
        "temperature": {
          "type": "minecraft:shifted_noise",
          "noise": "minecraft:temperature",
          "xz_scale": 0.25,
          "y_scale": 0,
          "shift_x": "minecraft:shift_x",
          "shift_y": 0,
          "shift_z": "minecraft:shift_z"
        },
        "vegetation": {
          "type": "minecraft:shifted_noise",
          "noise": "minecraft:vegetation",
          "xz_scale": 0.25,
          "y_scale": 0,
          "shift_x": "minecraft:shift_x",
          "shift_y": 0,
          "shift_z": "minecraft:shift_z"
        },
        "continents": "minecraft:overworld/continents",
        "erosion": "minecraft:overworld/erosion",
        "depth": "minecraft:overworld/depth",
        "ridges": "minecraft:overworld/ridges",
        "initial_density_without_jaggedness": {
          "type": "minecraft:add",
          "argument1": 0.1171875,
          "argument2": {
            "type": "minecraft:mul",
            "argument1": {
              "type": "minecraft:y_clamped_gradient",
              "from_y": -64,
              "to_y": -40,
              "from_value": 0,
              "to_value": 1
            },
            "argument2": {
              "type": "minecraft:add",
              "argument1": -0.1171875,
              "argument2": {
                "type": "minecraft:add",
                "argument1": -0.078125,
                "argument2": {
                  "type": "minecraft:mul",
                  "argument1": {
                    "type": "minecraft:y_clamped_gradient",
                    "from_y": 240,
                    "to_y": 256,
                    "from_value": 1,
                    "to_value": 0
                  },
                  "argument2": {
                    "type": "minecraft:add",
                    "argument1": 0.078125,
                    "argument2": {
                      "type": "minecraft:clamp",
                      "input": {
                        "type": "minecraft:add",
                        "argument1": -0.703125,
                        "argument2": {
                          "type": "minecraft:mul",
                          "argument1": 4,
                          "argument2": {
                            "type": "minecraft:quarter_negative",
                            "argument": {
                              "type": "minecraft:mul",
                              "argument1": "minecraft:overworld/depth",
                              "argument2": {
                                "type": "minecraft:cache_2d",
                                "argument": "minecraft:overworld/factor"
                              }
                            }
                          }
                        }
                      },
                      "min": -64,
                      "max": 64
                    }
                  }
                }
              }
            }
          }
        },
        "final_density": {
          "type": "minecraft:min",
          "argument1": {
            "type": "minecraft:squeeze",
            "argument": {
              "type": "minecraft:mul",
              "argument1": 0.64,
              "argument2": {
                "type": "minecraft:interpolated",
                "argument": {
                  "type": "minecraft:blend_density",
                  "argument": {
                    "type": "minecraft:add",
                    "argument1": 0.1171875,
                    "argument2": {
                      "type": "minecraft:mul",
                      "argument1": {
                        "type": "minecraft:y_clamped_gradient",
                        "from_y": -64,
                        "to_y": -40,
                        "from_value": 0,
                        "to_value": 1
                      },
                      "argument2": {
                        "type": "minecraft:add",
                        "argument1": -0.1171875,
                        "argument2": {
                          "type": "minecraft:add",
                          "argument1": -0.078125,
                          "argument2": {
                            "type": "minecraft:mul",
                            "argument1": {
                              "type": "minecraft:y_clamped_gradient",
                              "from_y": 240,
                              "to_y": 256,
                              "from_value": 1,
                              "to_value": 0
                            },
                            "argument2": {
                              "type": "minecraft:add",
                              "argument1": 0.078125,
                              "argument2": {
                                "type": "minecraft:range_choice",
                                "input": "minecraft:overworld/sloped_cheese",
                                "min_inclusive": -1000000,
                                "max_exclusive": 1.5625,
                                "when_in_range": {
                                  "type": "minecraft:min",
                                  "argument1": "minecraft:overworld/sloped_cheese",
                                  "argument2": {
                                    "type": "minecraft:mul",
                                    "argument1": 5,
                                    "argument2": "minecraft:overworld/caves/entrances"
                                  }
                                },
                                "when_out_of_range": {
                                  "type": "minecraft:max",
                                  "argument1": {
                                    "type": "minecraft:min",
                                    "argument1": {
                                      "type": "minecraft:min",
                                      "argument1": {
                                        "type": "minecraft:add",
                                        "argument1": {
                                          "type": "minecraft:mul",
                                          "argument1": 4,
                                          "argument2": {
                                            "type": "minecraft:square",
                                            "argument": {
                                              "type": "minecraft:noise",
                                              "noise": "minecraft:cave_layer",
                                              "xz_scale": 1,
                                              "y_scale": 8
                                            }
                                          }
                                        },
                                        "argument2": {
                                          "type": "minecraft:add",
                                          "argument1": {
                                            "type": "minecraft:clamp",
                                            "input": {
                                              "type": "minecraft:add",
                                              "argument1": 0.27,
                                              "argument2": {
                                                "type": "minecraft:noise",
                                                "noise": "minecraft:cave_cheese",
                                                "xz_scale": 1,
                                                "y_scale": 0.6666666666666666
                                              }
                                            },
                                            "min": -1,
                                            "max": 1
                                          },
                                          "argument2": {
                                            "type": "minecraft:clamp",
                                            "input": {
                                              "type": "minecraft:add",
                                              "argument1": 1.5,
                                              "argument2": {
                                                "type": "minecraft:mul",
                                                "argument1": -0.64,
                                                "argument2": "minecraft:overworld/sloped_cheese"
                                              }
                                            },
                                            "min": 0,
                                            "max": 0.5
                                          }
                                        }
                                      },
                                      "argument2": "minecraft:overworld/caves/entrances"
                                    },
                                    "argument2": {
                                      "type": "minecraft:add",
                                      "argument1": "minecraft:overworld/caves/spaghetti_2d",
                                      "argument2": "minecraft:overworld/caves/spaghetti_roughness_function"
                                    }
                                  },
                                  "argument2": {
                                    "type": "minecraft:range_choice",
                                    "input": "minecraft:overworld/caves/pillars",
                                    "min_inclusive": -1000000,
                                    "max_exclusive": 0.03,
                                    "when_in_range": -1000000,
                                    "when_out_of_range": "minecraft:overworld/caves/pillars"
                                  }
                                }
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "argument2": "minecraft:overworld/caves/noodle"
        },
        "vein_toggle": {
          "type": "minecraft:interpolated",
          "argument": {
            "type": "minecraft:range_choice",
            "input": "minecraft:y",
            "min_inclusive": -60,
            "max_exclusive": 51,
            "when_in_range": {
              "type": "minecraft:noise",
              "noise": "minecraft:ore_veininess",
              "xz_scale": 1.5,
              "y_scale": 1.5
            },
            "when_out_of_range": 0
          }
        },
        "vein_ridged": {
          "type": "minecraft:add",
          "argument1": -0.07999999821186066,
          "argument2": {
            "type": "minecraft:max",
            "argument1": {
              "type": "minecraft:abs",
              "argument": {
                "type": "minecraft:interpolated",
                "argument": {
                  "type": "minecraft:range_choice",
                  "input": "minecraft:y",
                  "min_inclusive": -60,
                  "max_exclusive": 51,
                  "when_in_range": {
                    "type": "minecraft:noise",
                    "noise": "minecraft:ore_vein_a",
                    "xz_scale": 4,
                    "y_scale": 4
                  },
                  "when_out_of_range": 0
                }
              }
            },
            "argument2": {
              "type": "minecraft:abs",
              "argument": {
                "type": "minecraft:interpolated",
                "argument": {
                  "type": "minecraft:range_choice",
                  "input": "minecraft:y",
                  "min_inclusive": -60,
                  "max_exclusive": 51,
                  "when_in_range": {
                    "type": "minecraft:noise",
                    "noise": "minecraft:ore_vein_b",
                    "xz_scale": 4,
                    "y_scale": 4
                  },
                  "when_out_of_range": 0
                }
              }
            }
          }
        },
        "vein_gap": {
          "type": "minecraft:noise",
          "noise": "minecraft:ore_gap",
          "xz_scale": 1,
          "y_scale": 1
        }
      },
      "surface_rule": {
        "type": "minecraft:sequence",
        "sequence": [
          {
            "type": "minecraft:condition",
            "if_true": {
              "type": "minecraft:vertical_gradient",
              "random_name": "minecraft:bedrock_floor",
              "true_at_and_below": {
                "above_bottom": 0
              },
              "false_at_and_above": {
                "above_bottom": 5
              }
            },
            "then_run": {
              "type": "minecraft:block",
              "result_state": {
                "Name": "minecraft:bedrock"
              }
            }
          },
          {
            "type": "minecraft:condition",
            "if_true": {
              "type": "minecraft:biome",
              "biome_is": [
                "solarworldplus:earth_taiga_plains"
              ]
            },
            "then_run": {
              "type": "minecraft:condition",
              "if_true": {
                "type": "minecraft:above_preliminary_surface"
              },
              "then_run": {
                "type": "minecraft:sequence",
                "sequence": [
                  {
                    "type": "minecraft:condition",
                    "if_true": {
                      "type": "minecraft:stone_depth",
                      "surface_type": "floor",
                      "add_surface_depth": false,
                      "secondary_depth_range": 0,
                      "offset": 0
                    },
                    "then_run": {
                      "type": "minecraft:sequence",
                      "sequence": [
                        {
                          "type": "minecraft:condition",
                          "if_true": {
                            "type": "minecraft:water",
                            "offset": -1,
                            "surface_depth_multiplier": 0,
                            "add_stone_depth": false
                          },
                          "then_run": {
                            "type": "minecraft:block",
                            "result_state": {
                              "Name": "minecraft:grass_block",
                              "Properties": {
                                "snowy": "false"
                              }
                            }
                          }
                        },
                        {
                          "type": "minecraft:block",
                          "result_state": {
                            "Name": "minecraft:gravel"
                          }
                        }
                      ]
                    }
                  },
                  {
                    "type": "minecraft:condition",
                    "if_true": {
                      "type": "minecraft:stone_depth",
                      "surface_type": "floor",
                      "add_surface_depth": true,
                      "secondary_depth_range": 0,
                      "offset": 0
                    },
                    "then_run": {
                      "type": "minecraft:block",
                      "result_state": {
                        "Name": "minecraft:dirt"
                      }
                    }
                  }
                ]
              }
            }
          }
        ]
      }
    }
  }
}
Edited by OrangeAedan on Sun, 06/28/2026 - 16:16
Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
At the end of the day there…
Mon, 06/29/2026 - 14:28

At the end of the day there is no set way to make what you want, you would have to come up with it yourself, the generation is based off of a 3d noise pattern, where points on that pattern are converted to blocks and then biomes are painted on top

Simply you want the same overworld noise pattern but scaled up, which makes it higher and wider, increase the ranges between all values and you may end up with a decent result

 

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yea, exactly. But I have no…
Mon, 06/29/2026 - 14:32

Yea, exactly. But I have no idea how I can do that. I don't see values that do this, apart from the size_horizontal and size_vertical. But these can't be greater than 4. Is it possible to scale that noise pattern up, or overwrite it?

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well the 'noise pattern' is…
Mon, 06/29/2026 - 18:46

Well the 'noise pattern' is just the settings and values that are produced from those dimension settings, you have made the xz and y scale 4 but only for the ore veins

You would also need to increase the height as a whole and then amend all y values. So if it says from y 50 to y 60 you need to change those too.

Try amending these like so and see what happens. I'd probably just mess around with increasing all the y value ranges, make sure the world height is increased

"argument2": "minecraft:overworld/sloped_cheese"
                                              }
                                            },
                                            "min": 0,
                                            "max": 1
                                         
                                               
type": "minecraft:y_clamped_gradient",
                              "from_y": 408,
                              "to_y": 456,


                      "min": -64,
                      "max": 186
Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alight. I played around with…
Tue, 06/30/2026 - 16:56

Alight. I played around with the settings you suggested. I used 1008-1216 or -64-1008. Changing -64 to something else caused everything to change into stone. But while the terrain was a lot taller, the highest mountain only reached 201 blocks. I can't increase 1216 further, since that is the building limit. Do you have other suggestions that might help?

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Try playing around with all…
Tue, 06/30/2026 - 21:21

Try playing around with all the ranges, if it says from x to y increase the y and decrease the x however possible, mainly y values within final density, also initial density

You could also look into making custom worldgen functions/files to replace some of the vanilla ones, like depth which may achieve what you want

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I already tried all values…
Wed, 07/01/2026 - 11:52

I already tried all values. Most of them are cave related, or cause everything to turn into stone. How could I replace the vanilla worldgen files with my own ones? Like the erosion one?

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
By creating your own noise…
Wed, 07/01/2026 - 14:24

By creating your own noise functions and density function, you should probably take a look at the minecraft wiki and then potentially also neoforge doc if you wanna dive into it

You don’t replace any just make a few files in your mods worldgen folder and then references them like minecraft:depth you would do mod:custom_density_function, in which you reference your mod:custom_noise etc

The main worldgen density function is based off of the sloped cheese function I think so maybe check that out

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Alright. I have copied the…
Wed, 07/01/2026 - 19:13

Alright. I have copied the slooped_cheese code. And tested that. It did have an effect on my terrain. This is my code:

{

  "type": "minecraft:add",

  "argument1": {

    "type": "minecraft:mul",

    "argument1": 4.0,

    "argument2": {

      "type": "minecraft:quarter_negative",

      "argument": {

        "type": "minecraft:mul",

        "argument1": {

          "type": "minecraft:add",

          "argument1": "minecraft:overworld_amplified/depth",

          "argument2": {

            "type": "minecraft:flat_cache",

            "argument": {

              "type": "minecraft:mul",

              "argument1": "minecraft:overworld_amplified/jaggedness",

              "argument2": {

                "type": "minecraft:half_negative",

                "argument": {

                  "type": "minecraft:noise",

                  "noise": "minecraft:jagged",

                  "xz_scale": 1500.0,

                  "y_scale": 0.0

                }

              }

            }

          }

        },

        "argument2": "minecraft:overworld_amplified/factor"

      }

    }

  },

  "argument2": "minecraft:overworld/base_3d_noise"

}

But again, changing the xz and y parameters didn't do much. The only change was that when they where to high, everything turned into stone again.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
What do you mean when…
Wed, 07/01/2026 - 21:38

What do you mean when everything changed to stone? Like the entire world was a massive cube of stone?

If so then you most likely went outside the range and the noise generates as a constant which then blocks out as all the same

You could also try making a custom base_3d_noise and other noise files, expand the originals

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I mean that blocks like dirt…
Thu, 07/02/2026 - 13:35

I mean that blocks like dirt and grass changed into stone. The terrain was still normal apart from that. At least the slooped_cheese function doesn't do much. The only thing it seemed to do is like make the terrain pointier. But that could have been random. The thing is that none of the files I change seem to have that much of an effect.

I also tried to overwrite the erosion file. Just to see if it had any effect. I created a file called erosion at MCreatorWorkspaces\SolarWorld+\src\main\resources\data\solarworldplus\worldgen\density_function\overworld\. But this function either isn't important, or it doesn't read my file. Because I set the xz scale to 2500 where it was 0.25 before. And that didn't do anything.

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Never mind. I found out why…
Fri, 07/03/2026 - 19:52

Never mind. I found out why changes didn't show up. I had to put it in MCreatorWorkspaces\SolarWorld+\src\main\resources\data\minecraft\worldgen\density_function\overworld\. Now they show up. I was able to make the terrain taller, by overwriting the depth file. But that resulted in a bunch of tall pillars. I want a smooth mountain what is climbable. But all the functions I have looked at, either can't change the xz size. Or simply don't affect this. Do you have any suggestions that might solve this?

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You may be able to achieve…
Fri, 07/03/2026 - 20:15

You may be able to achieve better smoothing by altering the base_3d_noise or factor, have a look at general perlin noise generation

This https://minecraft.fandom.com/wiki/Custom_world_generation

Will tell you how to make noise files

You could also just try reducing the y scale of your current sloped_cheese until it gets your mountains right, but will inevitably be shorter

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ah. I figured out how that…
Sat, 07/04/2026 - 21:34

Ah. I figured out how that works. Also, I think I will completely remove minecraft's generation. And create my own from scratch. I tried it now. And I got mountains that are 800 blocks tall, and actually climbable, pretty easily. This will work better anyway. Because there where more issues with the generation. Now I have full control. Thank you for pointing me in the direction. You helped me a lot.

Joined Jul 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You’re welcome
Sun, 07/05/2026 - 10:24

You’re welcome