A certain block game
Find a file
2026-03-02 14:51:05 +07:00
.github Merge branch 'smartcmd:main' into main 2026-03-01 17:41:09 -05:00
cmake Add functions to ensure directory creation and copy legacy redistributables 2026-03-01 15:47:31 -07:00
Minecraft.Client Revert "Move to a postbuild.ps1 script and Set the working dir at runtime as …" (#111) 2026-03-02 14:13:12 +07:00
Minecraft.World Fix C-style struct functor definitions 2026-03-02 14:51:05 +07:00
x64 Initial commit 2026-03-01 12:16:08 +08:00
.gitignore Add CMake build system and source files for Minecraft Client 2026-03-01 15:47:31 -07:00
CMakeLists.txt Add CMake build system and source files for Minecraft Client 2026-03-01 15:47:31 -07:00
Compile.md Update Visual Studio version in compile instructions to 2022 2026-03-01 15:47:31 -07:00
MinecraftConsoles.sln remove 4j source control warning when opening the solution 2026-03-01 17:08:31 +00:00
README.md feat: now can skip the tutorial (#82) 2026-03-02 13:40:04 +08:00

MinecraftConsoles

Discord

img.png

Introduction

This project contains the source code of Minecraft Legacy Console Edition v1.3.0494.0, with some fixes and improvements applied.

Features

  • Fixed compilation and execution in both Debug and Release mode on Windows using Visual Studio 2022
  • Added support for keyboard and mouse input
  • Added fullscreen mode support (toggle using F11)
  • Disabled V-Sync for better performance
  • Auto-detect native monitor resolution with DPI awareness, resulting in sharper visuals on high-resolution displays
  • Full support for keyboard and mouse input

Controls (Keyboard & Mouse)

  • Movement: W A S D
  • Jump / Fly (Up): Space
  • Sneak / Fly (Down): Shift (Hold)
  • Sprint: Ctrl (Hold) or Double-tap W
  • Inventory: E
  • Drop Item: Q
  • Crafting: C
  • Toggle View (FPS/TPS): F5
  • Fullscreen: F11
  • Pause Menu: Esc
  • Toggle Mouse Capture: Left Alt (for debugging)
  • Attack / Destroy: Left Click
  • Use / Place: Right Click
  • Select Item: Mouse Wheel or keys 1 to 9
  • Accept or Decline Tutorial hints: Enter to accept and B to decline
  • Host Options: TAB

Build & Run

  1. Install Visual Studio 2022
  2. Clone the repository
  3. Open the project by double-clicking MinecraftConsoles.sln
  4. Make sure Minecraft.Client is set as the Startup Project
  5. Set the build configuration to Debug (Release is also OK but has some bugs) and the target platform to Windows64, then build and run

CMake (Windows x64)

cmake -S . -B build -G "Visual Studio 17 2022" -A x64
cmake --build build --config Debug --target MinecraftClient

Known Issues

  • Builds for other platforms have not been tested and are most likely non-functional
  • There are some render bugs in the Release mode build