An open source Minecraft Java Edition rewrite in C++ using OpenGL focused on matching the original game as close as possible.
This branch version is rd-132211.
The screenshots were made with original Minecraft assets for demonstration purposes. These assets are not included in the project and are property of Mojang/Microsoft.
This is meant to be a 1:1 user experience rewrite/decompilation (the game look and gameplay must match) but the code may not match with the original as we are using modern C++ and OpenGL features and trying to improve the original code structure.
We used a decompilation of the Java Minecraft (RubyDung) binary and tried to rewrite it in C++ but with our own modifications.
It runs much faster and you can see no difference between our recreation and the original game.
- Clone the branch of this repo that you need:
git clone https://github.com/JaanDev/MCRewrite.git -b rd-132211
- Navigate to the cloned repository:
cd MCRewrite
- Because we cant upload the original assets here, you should get them by yourself (For example, by downloading the original jar here). You will need to put the terrain.png to the directory with the game executable before running!
- Configure cmake:
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- Build the game:
cmake --build build --config Release
- That's all. Depending on the compiler and the platform, your executable should be somewhere in the build folder. Dont forget about the assets =)
Any contributions are always welcome! :)
Discord:
- jaan2897
- kolyah35