A simple Minecraft clone in Java, developed with LWJGL and JOML. This project implements a 3D voxel engine with terrain generation, dynamic chunks, world saving, and basic block interactions.
- 3D chunk rendering with VBO and VAO
- Procedural terrain generation (with biomes, trees, ores)
- Saving and loading chunks to disk (GZIP .nbt format)
- Block interactions: placing, breaking, and basic inventory
- Block highlighting with raycasting
- Texture atlas (support for multiple block types)
- Frustum culling for performance optimization
- FPS-style camera with mouse and keyboard support
- Java 17 or higher
- LWJGL 3
- OpenGL 3.3 or higher
- JOML (Java OpenGL Math Library)
- An IDE such as IntelliJ IDEA or Eclipse
| Tasto | Azione | 
|---|---|
| WASD | Movement | 
| Space | Jump | 
| Mouse | Look around / Interact | 
| Left Click | Break block | 
| Right Click | Place block | 
| ESC | Main menu | 
Save System
Each chunk is saved in:
world//x_z.nbt
In GZIP-compressed format. The data includes block type and dimensions for each cell, with planned support for different future versions.


