From ce9ee06d41510ff90021be83d72a31053b3c44f9 Mon Sep 17 00:00:00 2001 From: NSDeathman <104826306+NSDeathman@users.noreply.github.com> Date: Sat, 16 May 2026 13:32:47 +0400 Subject: [PATCH] feat(TU31): Village roads have base block underneath like in TU31 (#73) https://minecraft.wiki/w/Xbox_360_Edition_TU31 "World generation: Gravel roads in villages have cobblestone underneath, to prevent them from collapsing into caves." --- Minecraft.World/VillagePieces.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Minecraft.World/VillagePieces.cpp b/Minecraft.World/VillagePieces.cpp index dcd765e0..7ab2c66b 100644 --- a/Minecraft.World/VillagePieces.cpp +++ b/Minecraft.World/VillagePieces.cpp @@ -709,7 +709,8 @@ BoundingBox *VillagePieces::StraightRoad::findPieceBox(StartPiece *startPiece, l bool VillagePieces::StraightRoad::postProcess(Level *level, Random *random, BoundingBox *chunkBB) { - int tile = biomeBlock(Tile::gravel_Id, 0); + int roadTile = biomeBlock(Tile::gravel_Id, 0); + int baseTile = biomeBlock(Tile::cobblestone_Id, 0); for (int x = boundingBox->x0; x <= boundingBox->x1; x++) { for (int z = boundingBox->z0; z <= boundingBox->z1; z++) @@ -717,7 +718,8 @@ bool VillagePieces::StraightRoad::postProcess(Level *level, Random *random, Boun if (chunkBB->isInside(x, 64, z)) { int y = level->getTopSolidBlock(x, z) - 1; - level->setTileAndData(x, y, z,tile, 0, Tile::UPDATE_CLIENTS); + level->setTileAndData(x, y, z, roadTile, 0, Tile::UPDATE_CLIENTS); + level->setTileAndData(x, y - 1, z, baseTile, 0, Tile::UPDATE_CLIENTS); } } }