Banners Complete!

Fixed improper behaviors of banners to adhere to LCE, as well as redid the banner recipes!
This commit is contained in:
Tranqlmao committed 2026-07-15 14:50:09 -04:00
1 parent f3a4f21029
commit 454da0ce3c
15 files changed
+389 -47

No files matched your search

+2 -2
View File
@@ -163,13 +163,13 @@ void BannerRenderer::render(shared_ptr<TileEntity> _banner, double x, double y,
if (!banner) return;
Tile *tile = banner->getTile();
if (tile != Tile::standing_banner && tile != Tile::wall_banner) return;
if (tile != Tile::standing_banner) return;
const float f = 0.6666667f;
glDisable(GL_LIGHTING);
glPushMatrix();
if (tile == Tile::standing_banner)
if (!banner->isWall())
{
glTranslatef((float)x + 0.5f, (float)y + 0.75f * f, (float)z + 0.5f);
float rot = banner->getData() * 360.0f / 16.0f;