Is there a way to know if lava is next?

Post Reply
Nutty8
Member
Posts: 10
Joined: Wed Nov 08, 2017 16:08
In-game: Nutty8
Location: Brazil

Is there a way to know if lava is next?

by Nutty8 » Post

Hello! My first topic here ;)
Sometimes, when playing Minetest, I tried to find lava lakes to make a Nether portal (I have a Nether mod installed). But then, the wiki says that lava are generated below Y = -273 (except for mg v6, but I never use v6). https://wiki.minetest.net/Lava
I digged down until I hit something like Y = -400 and found a HUGE cave, a giant open space in the underground, it was full of ores and way too dark. I walked through the cave placing torches everywhere (almost 600, and didn't covered even a half of the cave), but no sign of lava. It's almost funny how I never saw lava in Minetest unless by screenshots on the web (laughs).
So, is there a way of knowing if there's lava next to me?
In love with Minetest

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Is there a way to know if lava is next?

by paramat » Post

What you found was a 'cavern' which is different to the smaller 'large caves' that sometimes contain lava.
Lava is intentionally not in caverns to avoid massive lava floods that also affect game performance.
You can write a mod that searches for lava around you, otherwise just keep exploring, it's easy to miss the lava caves but they certainly do start at y = -273.

User avatar
Vapalus
Member
Posts: 112
Joined: Wed Nov 15, 2017 17:16

Re: Is there a way to know if lava is next?

by Vapalus » Post

Is there a mathematical formula which determines where lava is?
A man much wiser than me once said: "go away, you are bothering me"

Nutty8
Member
Posts: 10
Joined: Wed Nov 08, 2017 16:08
In-game: Nutty8
Location: Brazil

Re: Is there a way to know if lava is next?

by Nutty8 » Post

paramat wrote:What you found was a 'cavern' which is different to the smaller 'large caves' that sometimes contain lava.
Understood, I cant lie about being scared of that giant infinite darkness in underground, I looked at the minimap and saw a big green mark and thought "What the hell is going on??".
paramat wrote:Lava is intentionally not in caverns to avoid massive lava floods that also affect game performance.
Yeah, I also tried to look at the bottom of the cavern, but there wasn't a single sign of natural light or lava. I was disappointed but I got the reason why it isn't there.
paramat wrote:You can write a mod that searches for lava around you,
I would really like to write mods. I know how to program and stuff (mostly in C++) but really get confused when dealing with Lua. And would like to wait until Minetest 0.5 is released.
paramat wrote:otherwise just keep exploring, it's easy to miss the lava caves but they certainly do start at y = -273.
I will certainly do that, thanks for the help ;)
-----
Here's the cavern
Image
In love with Minetest

twoelk
Member
Posts: 1482
Joined: Fri Apr 19, 2013 16:19
GitHub: twoelk
IRC: twoelk
In-game: twoelk
Location: northern Germany

Re: Is there a way to know if lava is next?

by twoelk » Post

nice
you could share mapgen version, seed and coordinates for others to explore your "situation" :-P

there are a few little cheats to find lava - but that would only be half the fun wouldn't it

BBmine
Member
Posts: 3476
Joined: Sun Jul 12, 2015 22:51
GitHub: BBmine
IRC: BBmine
In-game: Baggins
Location: USA

Re: Is there a way to know if lava is next?

by BBmine » Post

In your mineshaft, you can stand between 2 spots to place blocks, and then place a block in one of the spots at eye level. Now you should be able to see through the stones and ores ;) Or you can make a texture pack that uses default:glass (or something similar) for default:stone.

User avatar
paramat
Developer
Posts: 3700
Joined: Sun Oct 28, 2012 00:05
GitHub: paramat
IRC: paramat
Location: UK

Re: Is there a way to know if lava is next?

by paramat » Post

> Is there a mathematical formula which determines where lava is?

Lava instead of water is determined by a 3D noise, which would help a little, but whether a cave is flooded is determined by a pseudorandom chance which is much more difficult to calculate.

Post Reply

Who is online

Users browsing this forum: No registered users and 21 guests