Open Terrain Generator (OTG)

Open Terrain Generator (OTG)

10M Downloads

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

BiomeBundle opened this issue ยท 2 comments

commented

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

commented

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.

commented

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.