{
"$type": "site.standard.document",
"bskyPostRef": {
"cid": "bafyreiedsztkoctvfkkvgn3w7jpw5dten6i4s3lpbannk3hunhuj5u4co4",
"uri": "at://did:plc:pvz7ox4x2ehjiezsahttqyyz/app.bsky.feed.post/3mjsmoiqfq4j2"
},
"path": "/viewtopic.php?p=450614#p450614",
"publishedAt": "2026-04-18T22:23:17.000Z",
"site": "https://forum.luanti.org",
"tags": [
"Mik"
],
"textContent": "Ah! Thanks Krock! :-)\n\n\n> 3. Probe a few positions by scanning upwards or downwards in the vmanip data for \"air\" nodes.\n\nThat did the trick, albeit a bit different. I had been replacing air with lava already, but that always created either massive amounts of lava_source in large caves or endless streams of lava flowing down or illogical lava in the air.\n\nSo I did it the other way around: scan upwards and replace stone with lava but only if y is above a limit and the density noise is above a threshold and the candidate positions are completely surrounded by either stone or lava.\n\nI'm still testing, but that seems to confine the lava into pockets which don't run wild outside of the mapchunk.\n\nIt's not perfect yet, but good enough.\n\nThanks again! :-)\n\nStatistics: Posted by Mik — Sat Apr 18, 2026 22:23\n\n* * *",
"title": "Modding Discussion • Re: How to do an Underground Magma/Lava Lake or Lava pocket?",
"updatedAt": "2026-04-18T22:23:17.000Z"
}