Open-source voxel sandbox game engine and game written in Java, born from a Minecraft-inspired tech demo, with modular gameplay.
PixelGuys/Cubyz
A Minecraft-inspired 3D voxel sandbox game written in Zig, with far view distances, unlimited vertical chunks and procedural crafting.
Open-source alternative to:Minecraft
- Stars
- 3,752
- Forks
- 250
- Open issues
- 926
- Last commit
- 6 hours ago
What is it?
Cubyz is a 3D voxel sandbox game inspired by Minecraft. It uses level of detail rendering to make very far view distances practical, and its chunks are 3D rather than stacked in a fixed height range, so the world has no height or depth limit.
The game features procedural crafting, where tool crafting offers a large space of possible combinations rather than a fixed recipe list. The project is written in Zig, a small systems language, and the codebase was rewritten from an earlier Java version starting in August 2022.
Cubyz runs on Windows and Linux, with macOS unsupported because it lacks OpenGL 4.3. Developers can run a dev build with the provided run scripts or the zig build run command.
Key features
- 01Level of detail rendering enables far view distances.
- 023D chunks with no height or depth limit.
- 03Procedural crafting with a large space of tool combinations.
- 04Runs on Windows and Linux.
Use cases
- Exploring a large, procedurally generated voxel world.
- Studying a voxel engine written in Zig.
- Contributing gameplay or content additions to an open-source sandbox game.
Quick start
- 1
Install Git
- 2
Clone the repository
git clone https://github.com/pixelguys/Cubyz - 3
Run the game with Zig installed
zig build run
Things to know
- Windows and Linux only; macOS is not supported because it lacks OpenGL 4.3.
- Written in Zig, so building from source requires a compatible Zig version.
Topics
FAQ
- What is Cubyz?
- A Minecraft-inspired 3D voxel sandbox game written in Zig, with far view distances, unlimited vertical chunks and procedural crafting. Cubyz is a 3D voxel sandbox game inspired by Minecraft. It uses level of detail rendering to make very far view distances practical, and its chunks are 3D rather than stacked in a fixed height range, so the world has no height or depth limit.
- Is Cubyz free to use? What license does it have?
- Cubyz is open source under the GPL-3.0 license. Check the license terms before using it in commercial products.
- Is Cubyz still maintained?
- Actively maintained. The last commit to Cubyz was on Nov 7, 2026.
- What can I use Cubyz for?
- Exploring a large, procedurally generated voxel world. Studying a voxel engine written in Zig. Contributing gameplay or content additions to an open-source sandbox game.
- How do I install Cubyz?
- Install Git Clone the repository: git clone https://github.com/pixelguys/Cubyz Run the game with Zig installed: zig build run
- Where can I get Cubyz?
- The source code and installation instructions are on GitHub: https://github.com/PixelGuys/Cubyz
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
Luanti (formerly Minetest) is a free open-source voxel game engine for building and playing games with Lua modding.
An open-source voxel action-adventure RPG set in a vast fantasy world, written in Rust and inspired by Cube World and Breath of the Wild.
An automation tower defense RTS written in Java, where players build factories and logistics to supply turrets and defend their base.
A 3D Tetris game built with Three.js and React, playable in the browser.
A C++ module for Godot 4 that builds editable, chunked volumetric voxel terrains with blocky or smooth rendering.