
About
Minecraft is Mojang Studios' sandbox game, first released in alpha in 2009 and formally released for PC in November 2011. MinecraftC is a C port of Minecraft Classic version 0.0.30a, built with SDL2 and OpenGL 1.1 for Windows, macOS and Linux, and includes the original music and sounds. It comes in a vanilla build and a modded build that offers optional raytracing.
How it differs from the original
The modded build adds raytracing using an 8-bit distance field, which the author says sometimes outperforms the original. Survival mode was removed, saving and loading are not implemented, and a few sounds play at the wrong pitch.
Getting started
Prebuilt binaries for Windows (32- and 64-bit) and macOS (x86_64 and ARM) are on the GitHub releases page. To turn on raytracing, use the modded binary and enable it in the mods screen under options; building from source uses CMake, and the Linux instructions are marked untested.
Known limitations
- gameplay: Survival mode was removed for simplicity and compatibility with raytracing.
- audio: A few sounds have the incorrect pitch; cute_sound.h is awaiting pitch shifting implementation.
- features: Load file and save file are not implemented.
Media
Additional notes
- Performance
- The author reports 60+ fps at 1080p with raytracing on the integrated graphics cards they tested.
- Modding
- A bundled script regenerates embedded resource headers when mod authors change or add PNG or OGG files.