# Minecraft recode in JavaScript
This is a sandbox that provides all basic features of Minecraft.
The main purpose of this project is to understand the render and physics engine of Minecraft.
The source code was ported from the [java-minecraft](https://github.com/LabyStudio/java-minecraft) project.

Click [here](https://labystudio.github.io/js-minecraft/) for a demo!
### Feature Overview
- Block rendering
- Block collision
- Player movement
- Walking
- Sprinting
- Sneaking
- Flying
- Swimming
- Lightning
- Dynamic lightning
- Smooth lightning
- Day/Night
- Block light source
- World
- 16x16x16 Chunks
- Block type, data, sky & block lightning
- Perlin world generation
- Camera
- Frustum Culling
- Fog
- Underwater fog
- Dynamic FOV
- GUI
- Screens
- Loading Screen
- InGame Menu
- Controls Screen
- Widgets
- Button
- KeyBindButton
- Overlay
- Cross-hair
- Font rendering
- Hot-Bar