Wasmcraft game demos
Runs games including DOOM, Celeste Classic and Super Mario Bros. inside vanilla Minecraft.
At your own risk. We link, never host. Safety
Posted by the creator, SuperTails.Open on YouTube
About this project
A compiler from WebAssembly to Minecraft Java Edition datapacks, so programs written in C, C++ or Rust run as vanilla commands. The demos include DOOM (1993), Celeste Classic, Minecraft 4k, an NES emulator running Super Mario Bros. and a CHIP-8 emulator running Pong. You build the compiler with Rust 1.58 or newer; the output datapack needs no game modification and the README says it was tested on 1.19+. It fills a few chunks near 0,0 with jukeboxes, so use a throwaway world.
- All WASM integer and control-flow operations, tested against the WebAssembly test suite
- newlib support for printf and malloc
- SSA optimizations: constant folding, dead code elimination, register allocation
- Simulation and debugging tools for datapack developers
Requirements and setup
Build the compiler from source with Rust >= 1.58; the output datapack runs in vanilla Java Edition with no game modification.
More games inside Minecraft
Released
Released