From 75bf7ee54a2d4bbaded95453ac699c5d2d529628 Mon Sep 17 00:00:00 2001 From: Vvis <76018445+Lambdagon@users.noreply.github.com> Date: Sun, 1 Mar 2026 22:33:18 -0700 Subject: [PATCH] Allow TAB to open host options (#97) --- Minecraft.Client/Windows64/Windows64_Minecraft.cpp | 11 +++++++++++ README.md | 1 + 2 files changed, 12 insertions(+) diff --git a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp index 1bffe317..540c3c53 100644 --- a/Minecraft.Client/Windows64/Windows64_Minecraft.cpp +++ b/Minecraft.Client/Windows64/Windows64_Minecraft.cpp @@ -1220,6 +1220,17 @@ int APIENTRY _tWinMain(_In_ HINSTANCE hInstance, ToggleFullscreen(); } + // TAB opens host options menu. - Vvis :3 + if (KMInput.IsKeyPressed(VK_TAB)) + { + if (Minecraft* pMinecraft = Minecraft::GetInstance()) + { + { + ui.NavigateToScene(0, eUIScene_InGameHostOptionsMenu); + } + } + } + #if 0 // has the game defined profile data been changed (by a profile load) if(app.uiGameDefinedDataChangedBitmask!=0) diff --git a/README.md b/README.md index dd9a7965..ae85c5c5 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,7 @@ This project contains the source code of Minecraft Legacy Console Edition v1.3.0 - **Attack / Destroy**: `Left Click` - **Use / Place**: `Right Click` - **Select Item**: `Mouse Wheel` or keys `1` to `9` +- **Host Options**: `TAB` ## Build & Run