Hi,
I was wondering why the world size is 62000? Why this number?
Is it possible to change it? Is it hardcoded or is there some kind of limit?
World size
- Krock
- Developer
- Posts: 4650
- Joined: Thu Oct 03, 2013 07:48
- GitHub: SmallJoker
- Location: Switzerland
- Contact:
Re: World size
It comes from the fact that node positions are sent and handled as 16-bit numbers. This means we could have a world that's about 65500^3 nodes big. The world generator stops some kilometers earlier to prevent occasional bugs due to overflows etc.
This topic might be interesting for you: Infinite world size
This topic might be interesting for you: Infinite world size
Look, I programmed a bug for you. >> Mod Search Engine << - Mods by Krock - DuckDuckGo mod search bang: !mtmod <keyword here>
Re: World size
I knew it was something like that but 62000 seems odd.
Thanks :)
Thanks :)
- Wuzzy
- Member
- Posts: 4804
- Joined: Mon Sep 24, 2012 15:01
- GitHub: Wuzzy2
- IRC: Wuzzy
- In-game: Wuzzy
- Contact:
Re: World size
The world is a cube of side length 61840. Coordinates go from −30912 to 30927 in any direction.
The side length is a multiple of 80, an important number in Minetest.
773 × 80 = 61840
80 is the side length of a Mapchunk. A Mapchunk is a cube of 80×80×80 blocks which is a piece of the world which is generated by the map generator at once. (80 in turn is a multiple of 16, and 16 is the side length of a MapBlock, a cube which can be loaded at once. This means 5×5×5 MapBlocks neatly fit into a Mapchunk. But back to topic.)
This explains why the world side length is a multiple of 80 but it doesn't explain where the 773 comes from, however. This seems like a fairly odd number.
Maybe you need to ask in the Minetest chatroom to find out more.
And yes, you can change the size of the world. But it is only possible to make it smaller.
Edit the advanced configuration setting “map_generation_limit”. Explanation:
The side length is a multiple of 80, an important number in Minetest.
773 × 80 = 61840
80 is the side length of a Mapchunk. A Mapchunk is a cube of 80×80×80 blocks which is a piece of the world which is generated by the map generator at once. (80 in turn is a multiple of 16, and 16 is the side length of a MapBlock, a cube which can be loaded at once. This means 5×5×5 MapBlocks neatly fit into a Mapchunk. But back to topic.)
This explains why the world side length is a multiple of 80 but it doesn't explain where the 773 comes from, however. This seems like a fairly odd number.
Maybe you need to ask in the Minetest chatroom to find out more.
And yes, you can change the size of the world. But it is only possible to make it smaller.
Edit the advanced configuration setting “map_generation_limit”. Explanation:
I do not recommend using this setting if you're not an experienced user. It it fairly odd to use.# Where the map generator stops.
# Please note:
# - Limited to 31000 (setting above has no effect)
# - The map generator works in groups of 80x80x80 nodes (5x5x5 MapBlocks).
# - Those groups have an offset of -32, -32 nodes from the origin.
# - Only groups which are within the map_generation_limit are generated
# type: int min: 0 max: 31000
Re: World size
Somewhat related question :
When implementing a plot manager, is it better to align with MapChunk or MapBlock coordinates?
When implementing a plot manager, is it better to align with MapChunk or MapBlock coordinates?
-
- Moderator
- Posts: 4095
- Joined: Wed Aug 24, 2011 09:44
- GitHub: sfan5
- IRC: sfan5
- Location: Germany
Re: World size
MapChunks are only used during map generation and don't really matter.
If you absolutely want to align to something I suggest using MapBlocks.
If you absolutely want to align to something I suggest using MapBlocks.
- Andrey01
- Member
- Posts: 2579
- Joined: Wed Oct 19, 2016 15:18
- GitHub: Andrey2470T
- In-game: Andrey01
- Location: Russia, Moscow
Re: World size
I think what map size much more than you wrote.For example i longly dug under land and i dug possible 100000 blocks!LouisDB wrote:Hi,
I was wondering why the world size is 62000? Why this number?
Is it possible to change it? Is it hardcoded or is there some kind of limit?
Re: World size
press F5 to display debug info and see your coordinates. the middle number is depth.Andrey01 wrote:I think what map size much more than you wrote.For example i longly dug under land and i dug possible 100000 blocks!LouisDB wrote:Hi,
I was wondering why the world size is 62000? Why this number?
Is it possible to change it? Is it hardcoded or is there some kind of limit?
at -31000 there should be an "invisible wall" with nothing below it, so you can see the sky.
the same applies the "edge of the world" on the surface.
maybe you went down to 10.000, not 100.000 :P
✨🏳️🌈♣️✨
Who is online
Users browsing this forum: No registered users and 24 guests