reimplement aether stuff from personal repo

This commit is contained in:
Bonnie
2026-03-03 11:12:53 -06:00
parent 4d04f408d7
commit afb8090812
129 changed files with 4352 additions and 591 deletions

View File

@@ -251,6 +251,14 @@ bool BucketItem::emptyBucket(Level *level, double x, double y, double z, int xt,
}
else
{
// Check if water bucket is being placed inside a glowstone frame — Aether portal
if (content == Tile::water_Id && level->getTile(xt, yt - 1, zt) == Tile::lightGem_Id)
{
if (Tile::aetherPortalTile->trySpawnPortal(level, xt, yt, zt, true))
{
return true;
}
}
level->setTileAndData(xt, yt, zt, content, 0);
}