From 35500de3cc960f7645f8f7d3ac4736b83ba66348 Mon Sep 17 00:00:00 2001 From: Lord_Cambion Date: Fri, 24 Apr 2026 01:25:06 +0200 Subject: [PATCH] fix: mesa colors and plateau i tried to give the colors of the mesa eMinecraftColour_Foliage_Mesa eMinecraftColour_Grass_Mesa but it took the actuale value like 50 and 37 if i remmebr so it gave black and dark blue colors to leaves and grass. then i fixed the plateau becoming bryce just adding an id check --- Minecraft.World/MesaBiome.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Minecraft.World/MesaBiome.cpp b/Minecraft.World/MesaBiome.cpp index 1970db75..0aef5182 100644 --- a/Minecraft.World/MesaBiome.cpp +++ b/Minecraft.World/MesaBiome.cpp @@ -191,12 +191,12 @@ Feature* MesaBiome::getTreeFeature(Random* random) int MesaBiome::getFolageColor() const { - return eMinecraftColour_Foliage_Mesa; + return 0x9E814D; } int MesaBiome::getGrassColor() const { - return eMinecraftColour_Grass_Mesa; + return 0x90814D; } void MesaBiome::buildSurfaceAtDefault(Level* level, Random* random, @@ -226,7 +226,7 @@ void MesaBiome::buildSurfaceAtDefault(Level* level, Random* random, double pillarHeight = 0.0; - if (isMesaPlateau) + if (isMesaPlateau&& id == Biome::mesaBryce->id) { double nx = static_cast((x & ~0xF) + localZ); double nz = static_cast((z & ~0xF) + localX); @@ -390,7 +390,7 @@ MesaBiome* MesaBiome::createMutatedCopy(int newId) if (!isMesaBase) { - copy->setDepthAndScale(0.1f, 0.3f); + copy->setDepthAndScale(0.1f, 0.2f); } copy->setWaterSkyColor(this->getWaterColor(), this->getSkyColor());