Skip to content

mrparsing/minecraft-clone

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Minecraft Clone in Java with LWJGL

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.

Main Features

  • 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

Requirements

  • Java 17 or higher
  • LWJGL 3
  • OpenGL 3.3 or higher
  • JOML (Java OpenGL Math Library)
  • An IDE such as IntelliJ IDEA or Eclipse

Controls

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.

Screenshots

About

Minecraft clone in Java with LWJGL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages