## Is there a way to know if lava is next?

Nutty8
New member

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

### Is there a way to know if lava is next?

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

paramat
Developer

Posts: 3063
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

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

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.

Vapalus
Member

Posts: 68
Joined: Wed Nov 15, 2017 17:16

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

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
New member

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

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

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
In love with Minetest

twoelk
Member

Posts: 1170
Joined: Fri Apr 19, 2013 16:19
Location: northern Germany

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

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: 3383
Joined: Sun Jul 12, 2015 22:51
Location: USA
GitHub: BBmine
IRC: BBmine
In-game: Baggins

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

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.
God's not dead! -- Mods, Servers, My Youtube Channel My forum Good Music -- Never gonna give you up!!

paramat
Developer

Posts: 3063
Joined: Sun Oct 28, 2012 00:05
Location: UK
GitHub: paramat
IRC: paramat

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

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