TU46 Test content and patches

TU46 Test content, added missing commits by amending commit and cherry-picking to new branch, ready for iggy guis and tu46 bug fixes
This commit is contained in:
Tranqlmao authored and DrPerkyLegit committed 2026-10-22 13:55:39 -04:00
1 parent 8d6b69f599
commit ff562d1644
497 files changed
+11187 -771

No files matched your search

+9 -1
View File
@@ -447,6 +447,11 @@ static std::wstring slabTypeToString(int tileId, int type)
return (type == StoneSlabTile2::RED_SANDSTONE_SLAB) ? L"red_sandstone" : L"unknown";
}
if (tileId == Tile::purpur_slab_Id || tileId == Tile::purpur_double_slab_Id)
{
return L"purpur";
}
static const std::wstring typeNames[] = {
L"stone", L"sandstone", L"wood", L"cobblestone",
L"brick", L"stone_brick", L"nether_brick", L"quartz"
@@ -460,7 +465,7 @@ static std::wstring slabPropsToString(int tileId, int composite)
bool top = (composite & HalfSlabTile::TOP_SLOT_BIT) != 0;
std::wstringstream ss;
ss << L"type: " << slabTypeToString(tileId, type);
if (tileId == Tile::wooden_slab_Id || tileId == Tile::stone_slab_Id || tileId == Tile::stone_slab2_Id)
if (tileId == Tile::wooden_slab_Id || tileId == Tile::stone_slab_Id || tileId == Tile::stone_slab2_Id || tileId == Tile::purpur_slab_Id)
{
ss << L"\n";
ss << L"half: " << (top ? L"top" : L"bottom");
@@ -678,6 +683,7 @@ static bool registerStairDecoder()
registerDecoder(Tile::acacia_stairs_Id, fn);
registerDecoder(Tile::dark_oak_stairs_Id, fn);
registerDecoder(Tile::red_sandstone_stairs_Id, fn);
registerDecoder(Tile::purpur_stairs_Id, fn);
return true;
}
@@ -735,6 +741,8 @@ static bool registerPlantDecoders()
registerDecoder(Tile::wooden_slab_Id, [](int composite)->std::wstring { return slabPropsToString(Tile::wooden_slab_Id, composite); });
registerDecoder(Tile::double_stone_slab2_Id, [](int composite)->std::wstring { return slabPropsToString(Tile::double_stone_slab2_Id, composite); });
registerDecoder(Tile::stone_slab2_Id, [](int composite)->std::wstring { return slabPropsToString(Tile::stone_slab2_Id, composite); });
registerDecoder(Tile::purpur_double_slab_Id, [](int composite)->std::wstring { return slabPropsToString(Tile::purpur_double_slab_Id, composite); });
registerDecoder(Tile::purpur_slab_Id, [](int composite)->std::wstring { return slabPropsToString(Tile::purpur_slab_Id, composite); });
registerDecoder(Tile::trapdoor_Id, [](int composite)->std::wstring { return trapDoorPropsToString(composite); });
registerDecoder(Tile::iron_trapdoor_Id, [](int composite)->std::wstring { return trapDoorPropsToString(composite); });
registerDecoder(Tile::tripwire_Id, [](int composite)->std::wstring { return tripWirePropsToString(composite); });