OpenTerrainGenerator icon indicating copy to clipboard operation
OpenTerrainGenerator copied to clipboard

Feature: 1.16 - Maka lava blocks that spawn adjacent to water blocks turn to magma

Open BiomeBundle opened this issue 4 years ago • 2 comments

E.g. if a customobject/structure containing lava spawns underwater in the ocean.

BiomeBundle avatar May 20 '21 19:05 BiomeBundle

Thinking about this, checking for adjacent blocks could cause issues due to checks across chunk boundaries. Could just make a setting ReplaceLavaToMagmaInWater, which would use magma instead of lava for any lava block that replaces a water block in the world.

PG85 avatar Jun 15 '21 12:06 PG85

Perhaps y'all could genericize that in BO3s to a common SWITCH()-style function, something like this?

ConditionalBlock(x,y,z, Block[:Data], SourceBlock[:Data], AnotherBlock[:Data], AnotherSourceBlock[:Data],...DefaultBlock[:Data])

This way, it would be useful for more than just lava/water relationships.

WACriminalG2 avatar Jun 15 '21 15:06 WACriminalG2