Lava height

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Lava height

by Wuzzy » Wed Sep 14, 2016 20:53

At which height (Y) does lava start to appear in Minetest Game in each of the core map generators?
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Lava height

by paramat » Thu Sep 15, 2016 07:25

Mgv6 -32 all others -273.
 

User avatar
Wuzzy
Member
 
Posts: 2161
Joined: Mon Sep 24, 2012 15:01
GitHub: Wuzzy2
IRC: Wuzzy
In-game: Wuzzy

Re: Lava height

by Wuzzy » Thu Sep 15, 2016 16:19

Thanks. How do I change the height?
Is the height related to water_level or is it independent from it?

And why -273? This number seems odd. ;-)
I'm creating MineClone 2, a Minecraft clone for Minetest.
I made the Help modpack, adding in-game help to Minetest.
 

User avatar
Naj
Member
 
Posts: 170
Joined: Sat Sep 19, 2015 21:14
GitHub: pyrollo
In-game: naj

Re: Lava height

by Naj » Fri Sep 16, 2016 12:18

Wuzzy wrote:And why -273? This number seems odd. ;-)


Sounds like absolute zero in celcius degrees :)
 

paramat
Member
 
Posts: 2662
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat

Re: Lava height

by paramat » Sat Sep 17, 2016 09:15

Well -273 is the highest maxp below -256 which is the coded limit.
These depths are hardcoded.
In mgv6 the lava depth is related to water level, it will always be a mapchunk lower.
All other mapgens it's a constant -256.
 


Return to Minetest General

Who is online

Users browsing this forum: Bing [Bot] and 16 guests

cron