Jump to content

Increasing the World Height


Jimmeh

Recommended Posts

Hi there! I'm trying to increase the normal overworld max height. I'm not sure how to go about this without using reflection to change this in DimensionType:

protected static final DimensionType DEFAULT_OVERWORLD = create(OptionalLong.empty(), true, false, false, true, 1.0D, false, false, true, false, true, -64, 384, 384, BlockTags.INFINIBURN_OVERWORLD, OVERWORLD_EFFECTS, 0.0F);

Would that be the recommended way to accomplish this? Or is there some data file in the world folder that I should change?

Any help is appreciated!

Link to comment
Share on other sites

The simple answer is you don't do like that.

Modifying the default world generation in random ways will likely just cause conflicts with other mods that are using the proper mechanisms to change the data.

 

If you want a custom overworld you either use a DataPack to redefine the world gen https://minecraft.fandom.com/wiki/Custom

or you can create your own world type (called WorldPresets in the code, similar to how superflat or large biomes are chosen at world creation), you can also do this with datapacks: https://misode.github.io/worldgen/world-preset/

 

Edited by warjort

Boilerplate:

If you don't post your logs/debug.log we can't help you. For curseforge you need to enable the forge debug.log in its minecraft settings. You should also post your crash report if you have one.

If there is no error in the log file and you don't have a crash report then post the launcher_log.txt from the minecraft folder. Again for curseforge this will be in your curseforge/minecraft/Install

Large files should be posted to a file sharing site like https://gist.github.com  You should also read the support forum sticky post.

Link to comment
Share on other sites

5 hours ago, warjort said:

The simple answer is you don't do like that.

Modifying the default world generation in random ways will likely just cause conflicts with other mods that are using the proper mechanisms to change the data.

 

If you want a custom overworld you either use a DataPack to redefine the world gen https://minecraft.fandom.com/wiki/Custom

or you can create your own world type (called WorldPresets in the code, similar to how superflat or large biomes are chosen at world creation), you can also do this with datapacks: https://misode.github.io/worldgen/world-preset/

 

Thank you!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.