Update all tiles to use their given icon names and register with new name patterns with misc changes

This commit is contained in:
Soggy_Pancake 2026-03-14 13:56:35 -07:00
parent 6635d352dc
commit 4eaea8dc3f
51 changed files with 278 additions and 275 deletions

View file

@ -16,14 +16,7 @@ RedlightTile::RedlightTile(int id, bool isLit) : Tile(id, Material::buildable_gl
void RedlightTile::registerIcons(IconRegister *iconRegister)
{
if (isLit)
{
icon = iconRegister->registerIcon(L"redstoneLight_lit");
}
else
{
icon = iconRegister->registerIcon(L"redstoneLight");
}
icon = iconRegister->registerIcon(getIconName());
}
void RedlightTile::onPlace(Level *level, int x, int y, int z)