Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lava cooling into other blocks? #14

Open
duckwagon opened this issue Jun 20, 2019 · 4 comments
Open

Lava cooling into other blocks? #14

duckwagon opened this issue Jun 20, 2019 · 4 comments
Labels
enhancement New feature or request

Comments

@duckwagon
Copy link

Man. Just found this thing again. SO glad it's moving forward. I need to be better about following mods I like.

Not sure if this was suggested before, but I think it'd be really nice if lava would cool over time, or maybe just when converting other blocks, into another block like magma, stone, netherrack (as silly as that is, thematically it works IMO), or obsidian. For performance, but also aesthetics, and so it doesn't take over the whole world... Like so an eruption is a temporary thing?

Repeat eruptions would be a really cool possible thing, in that case, too. It makes sense for the generated volcanos you have planned, you can set how 'active' a volcano is, and then the magma will re-melt and flow all over again in intervals? Something like that.

Is triggering an eruption area-specific, or is it just mining too deep/far, ir what? I can just imagine going down to bedrock, finding a 'vein' of magma/obsidian, mining it up, and triggering an eruption. That would be cool.

@duckwagon
Copy link
Author

...Cooling blocks would add some nice/accurate effects to sea-vents, instead of just a bunch of stone generating.

@kreezxil
Copy link
Owner

kreezxil commented Jun 20, 2019 via email

@eleksploded eleksploded added the enhancement New feature or request label Jun 20, 2019
@jtgibson01
Copy link

jtgibson01 commented Aug 22, 2019

I think the cooling should be the primary means of building up the volcanoes, rather than the current ejecta. Aside from the realism factor, it also would help volcanoes form a caldera instead of forming the current exponentiating normal distribution. Well-developed volcanoes at present do look "good", but they look more like the asteroid spires from the movie Armageddon rather than genuine igneous flows. =)

I think the best way to do it would be to do an inverse Gaussian throw on both the X and Z to choose a coordinate to cool (inverse means it is more likely to produce results on the edges than in the middle, but can rarely produce results in the middle), constrain or lerp it to a maximum range from the volcano, raytrace down from max Z until it runs into magma (even through stone), and convert that flow block to smooth stone. Repeat at random intervals.

This has a few predictable results:

  • volcanoes will cool from the outside in, producing a natural caldera and a more mounded volcano than a spire.
  • magma that cools level with another magma block will cause cliffs and wider magma flows.
  • magma flow will be more unpredictable and form channels, rather than highly fluid that just spills everywhere until it is blocked by the spire development.
  • cooling can form random "shells" over magma, interspersing pockets of hot magma with smooth stone, making it much more dangerous to mine volcanoes once they've built up.

@kreezxil
Copy link
Owner

kreezxil commented Aug 22, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants