Banner Patterns!

Banner Patterns, some lighting fixes, and loot-table nbt!
This commit is contained in:
Tranqlmao
2026-07-14 20:31:05 -04:00
parent 93f1d55db9
commit d7a08122c7
7 changed files with 169 additions and 28 deletions
+1 -1
View File
@@ -133,7 +133,7 @@ void BannerTile::registerIcons(IconRegister *iconRegister)
void BannerTile::playerWillDestroy(Level *level, int x, int y, int z, int data, shared_ptr<Player> player)
{
shared_ptr<BannerTileEntity> bte = dynamic_pointer_cast<BannerTileEntity>(level->getTileEntity(x, y, z));
m_dropColor = (bte != nullptr) ? (bte->getBaseColor() & 15) : 15;
m_dropColor = (bte != nullptr) ? (15 - (bte->getBaseColor() & 15)) : 0;
BaseEntityTile::playerWillDestroy(level, x, y, z, data, player);
}