Started by
A Peace Of Pie Mods
on
Topic category: Help with Minecraft modding (Java Edition)
So, I am trying to make a swamp-like biome with lots of puddles, lakes, streams, etc. But the problem is - I want to make trees generate in water only if it (water) is 4 blocks deep, and not generate if the water source is deeper than that. Can someone help me with that? I've been trying to do that myself via conditions but the trees just generate underwater anyway or not generate at all.
Thanks in advance. :)
perhaps use structures, and use the "additional condition" to make sure its only 4 blocks deep?
Umm- yeah I know but- how do I do that?
Hello!
You could take the sea level[which is 63] -4, which would be 59, and just have the additional condition be Return Y > 59
Another thing you could do is to check if the block at Y+5 is a water block, and if true return False
Hope this helps!