TU19: merge Minecraft.World/Blocks

This commit is contained in:
Tropical
2026-03-21 15:52:50 -05:00
parent f25cd66f4d
commit 9b6046cb83
242 changed files with 8083 additions and 4657 deletions

View File

@@ -37,7 +37,7 @@ void MycelTile::tick(Level* level, int x, int y, int z, Random* random) {
if (level->getRawBrightness(x, y + 1, z) < MIN_BRIGHTNESS &&
Tile::lightBlock[level->getTile(x, y + 1, z)] > 2) {
level->setTile(x, y, z, Tile::dirt_Id);
level->setTileAndUpdate(x, y, z, Tile::dirt_Id);
} else {
if (level->getRawBrightness(x, y + 1, z) >= Level::MAX_BRIGHTNESS - 6) {
for (int i = 0; i < 4; i++) {
@@ -48,7 +48,7 @@ void MycelTile::tick(Level* level, int x, int y, int z, Random* random) {
if (level->getTile(xt, yt, zt) == Tile::dirt_Id &&
level->getRawBrightness(xt, yt + 1, zt) >= MIN_BRIGHTNESS &&
Tile::lightBlock[above] <= 2) {
level->setTile(xt, yt, zt, id);
level->setTileAndUpdate(xt, yt, zt, id);
}
}
}