summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Render.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Render.cpp b/src/Render.cpp
index 7e770fc..ae9814d 100644
--- a/src/Render.cpp
+++ b/src/Render.cpp
@@ -410,6 +410,11 @@ void Render::RenderGui() {
ImGui::Text("Selected block light: %d (%d)",
world->GameStatePtr()->world.GetBlockLight(world->GameStatePtr()->selectedBlock),
world->GameStatePtr()->world.GetBlockSkyLight(world->GameStatePtr()->selectedBlock));
+
+ ImGui::Text("Selected block id: %d:%d (%s)",
+ world->GameStatePtr()->world.GetBlockId(world->GameStatePtr()->selectedBlock).id,
+ world->GameStatePtr()->world.GetBlockId(world->GameStatePtr()->selectedBlock).state,
+ AssetManager::GetAssetNameByBlockId(BlockId{ world->GameStatePtr()->world.GetBlockId(world->GameStatePtr()->selectedBlock).id,0 }).c_str());
}
ImGui::End();