the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
1# MinecraftConsoles
2
3[](https://discord.gg/jrum7HhegA)
4
5
6
7## Introduction
8
9This project contains the source code of Minecraft Legacy Console Edition v1.6.0560.0 (TU19) from https://archive.org/details/minecraft-legacy-console-edition-source-code, with some fixes and improvements applied
10
11[Nightly Build](https://github.com/smartcmd/MinecraftConsoles/releases/tag/nightly)
12
13## Platform Support
14
15- **Windows**: Supported for building and running the project
16- **macOS / Linux**: The Windows nightly build may run through Wine or CrossOver based on community reports, but this is unofficial and not currently tested by the maintainers
17
18## Features
19
20- Fixed compilation and execution in both Debug and Release mode on Windows using Visual Studio 2022
21- Added support for keyboard and mouse input
22- Added fullscreen mode support (toggle using F11)
23- Disabled V-Sync for better performance
24- Added a high-resolution timer path on Windows for smoother high-FPS gameplay timing
25- Device's screen resolution will be used as the game resolution instead of using a fixed resolution (1920x1080)
26- LAN Multiplayer & Discovery
27
28## Multiplayer
29
30Basic LAN multiplayer is available on the Windows build
31
32- Hosting a multiplayer world automatically advertises it on the local network
33- Other players on the same LAN can discover the session from the in-game Join Game menu
34- Game connections use TCP port `25565` by default
35- LAN discovery uses UDP port `25566`
36- You can override your in-game username at launch with `-name`
37
38Example:
39
40```powershell
41Minecraft.Client.exe -name Steve
42```
43
44This feature is based on [LCEMP](https://github.com/LCEMP/LCEMP/)
45
46## Controls (Keyboard & Mouse)
47
48- **Movement**: `W` `A` `S` `D`
49- **Jump / Fly (Up)**: `Space`
50- **Sneak / Fly (Down)**: `Shift` (Hold)
51- **Sprint**: `Ctrl` (Hold) or Double-tap `W`
52- **Inventory**: `E`
53- **Drop Item**: `Q`
54- **Crafting**: `C`
55- **Toggle View (FPS/TPS)**: `F5`
56- **Fullscreen**: `F11`
57- **Pause Menu**: `Esc`
58- **Toggle Mouse Capture**: `Left Alt` (for debugging)
59- **Attack / Destroy**: `Left Click`
60- **Use / Place**: `Right Click`
61- **Select Item**: `Mouse Wheel` or keys `1` to `9`
62- **Accept or Decline Tutorial hints**: `Enter` to accept and `B` to decline
63- **Game Info (Player list and Host Options)**: `TAB`
64- **Toggle Debug Info**: `F3`
65- **Open Debug Overlay**: `F4`
66
67## Build & Run
68
691. Install Visual Studio 2022
702. Clone the repository
713. Open the project by double-clicking `MinecraftConsoles.sln`
724. Make sure `Minecraft.Client` is set as the Startup Project
735. Set the build configuration to **Debug** (Release is also OK but has some bugs) and the target platform to **Windows64**, then build and run
74
75### CMake (Windows x64)
76
77```powershell
78cmake -S . -B build -G "Visual Studio 17 2022" -A x64
79cmake --build build --config Debug --target MinecraftClient
80```
81
82For more information, see [COMPILE.md](COMPILE.md)
83
84## Known Issues
85
86- Native builds for platforms other than Windows have not been tested and are most likely non-functional. The Windows nightly build may still run on macOS and Linux through Wine or CrossOver, but that path is unofficial and not currently supported
87
88## Star History
89
90[](https://www.star-history.com/?spm=a2c6h.12873639.article-detail.7.7b9d7fabjNxTRk#smartcmd/MinecraftConsoles&type=date&legend=top-left)