feat: oceanMonument

feat: Mesa biomes
feat: changed world generation according to java
fix: swamp hut changed to spruce
This commit is contained in:
Lord_Cambion
2026-04-07 19:41:14 +02:00
parent 17aff7edb3
commit 720e1a77a4
57 changed files with 3377 additions and 358 deletions
+6 -1
View File
@@ -170,7 +170,12 @@ Vec3 *Dimension::getFogColor(float td, float a) const
if (br < 0.0f) br = 0.0f;
if (br > 1.0f) br = 1.0f;
unsigned int baseFogColour = Minecraft::GetInstance()->getColourTable()->getColor( eMinecraftColour_Default_Fog_Colour );
unsigned int baseFogColour = 0x808080; // Gray default
Minecraft* pMc = Minecraft::GetInstance();
if (pMc && pMc->getColourTable())
{
baseFogColour = pMc->getColourTable()->getColor(eMinecraftColour_Default_Fog_Colour);
}
float r = ((baseFogColour >> 16) & 0xff) / 255.0f;
float g = ((baseFogColour >> 8) & 0xff) / 255.0f;
float b = ((baseFogColour) & 0xff) / 255.0f;