AltCraft
AltCraft is implementation of Minecraft: Java Edition (1.12.2) in C++.
This is aimed at being fast, being free and being easy expandable.
more)
Demonstration (Build
- Install CMake 3.14, C++ compiler, OpenGL.
Windows: VS2019 and workload Desktop development with C++
Ubuntu:
apt install cmake g++ libgl1-mesa-dev libglu1-mesa-dev
MacOS:
xcode-select --install
and install CMake
- Build AltCraft using CMake (run in directory with clonned AltCraft repo):
mkdir build && cd build
cmake .. -DCMAKE_BUILD_TYPE=Release
cmake --build .
Windows: Just
Clone a repository
on statup screen in VS2019.
Linux and MacOS: Alternatively, you could build and run using IDE such as CLion.
Linux: There is a problem that Optick does not compile, so for now it needs to be disabled via the additional CMake parameter
-DOPTICK_ENABLED=OFF
.
- Copy .minecraft/version/{version}/{version}.jar/assets/ to AltCraft-root/cwd/
You can extract .jar file as .zip archive.
/cwd/assets/minecraft/models/block/block.json must be a valid path.
- Set /cwd/ as working directory and run AC:
cd ../cwd/ && ../build/AltCraft