Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.16.5] overwriting the maximum build height


Nyko
 Share

Recommended Posts

I'm currently writing a mod in which I change vanilla features and add a few new features (from version 1.17).

now I want or try to enlarge the world size (height).

since i have no idea if this is possible and if so.

which I would then have to overwrite. my goal would be to expand the world by 128 down (to -128) and 64 up (to 320).

I assume that the whole thing will not be easy because I have to overwrite the whole world generation (ores, caves, decoration, etc).

Link to comment
Share on other sites

22 minutes ago, diesieben07 said:

World generation is your smallest problem. The save format doesn't support this in 1.16, so you basically can't.

it is possible to create a custom save format

Edit: or copy one from a old version like 1.15

Edited by Nyko
Link to comment
Share on other sites

Not easily.

And older save formats don't support an increased world height either.

(In fact, I'm pretty sure the current save format goes back to like 1.7. Edit: just checked, Anvil has been in use since 1.2.1)

Edited by Draco18s
  • Thanks 1

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

Link to comment
Share on other sites

9 hours ago, Draco18s said:

Not easily.

And older save formats don't support an increased world height either.

thanks for the info, since the whole thing sounds pretty complicated, I will probably not change it

Link to comment
Share on other sites

  • 4 months later...

Minecraft 1.17 update is out and the Forge version is finally out too,
vanilla's datapack makes it possible to change the height of the world, is this also possible for a mod?

if it is possible how do i change the height?

Link to comment
Share on other sites

2 minutes ago, Nyko said:

if it is possible how do i change the height?

yes it is possible you have to overwrite the dimension-type file of the dimension in which you want to change the height (the values min_y and height)

Edited by Luis_ST
  • Thanks 1
Link to comment
Share on other sites

7 minutes ago, Luis_ST said:

yes it is possible you have to overwrite the dimension-type file of the dimension in which you want to change the height (the values min_y and height)

can I only use the vanilla values, so like y_min=-64 and height=384 or its possible to create a larger world?
so like y_min=-256 and height= 512?

Edited by Nyko
Link to comment
Share on other sites

yes you can create a world with max size 4112 (i think), so y_min=-2056 and height=2056
but the values you set in y_min or height should be:

value % 16 == 0

if this is not the case minecraft will use the default values so like y_min=0 and height=256

  • Thanks 1
Link to comment
Share on other sites

sorry, for asking but is it possible that the VerticalAnchor only work in the positive direction,
because i move currently my features into the new world height (-1024<->1024)
and if the VerticalAnchor is negativ they will not generate

Link to comment
Share on other sites

Just now, Nyko said:

sorry, for asking but is it possible that the VerticalAnchor only work in the positive direction,
because i move currently my features into the new world height (-1024<->1024)
and if the VerticalAnchor is negativ they will not generate

yep is possible i have the same problem, and i currently not found a solution for this problem

side question does your world load fine with a size of 2048?😅

  • Thanks 1
Link to comment
Share on other sites

1 minute ago, Luis_ST said:

yep is possible i have the same problem, and i currently not found a solution for this problem

okay thanks do you have an idea what i can do instead

 

1 minute ago, Luis_ST said:

side question does your world load fine with a size of 2048?😅

with a RenderDistance of 8 yes (i normally use the max value)😁

Link to comment
Share on other sites

1 minute ago, Luis_ST said:

very simple, move the world into positive direction so form -1024<->1024 to 0<->2048

omg i stupid
Another question what is the difference between Decoratable#rangeUniform and Decoratable#rangeTriangle

Link to comment
Share on other sites

1 minute ago, Luis_ST said:

generate the feature in a triangle like the new ores
like that:

so that would generate the feature like the coal ore in the picture:

.range(new RangeDecoratorConfiguration(TrapezoidHeight.of(VerticalAnchor.absolute(0), VerticalAnchor.absolute(192), 96)))

 

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
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.

 Share



×
×
  • Create New...

Important Information

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