How To Code Minecraft In Javascript (THREE.js) | Part 1 - Basic World

Опубликовано: 20 Февраль 2026
на канале: Hritik Roy Chowdhury
40,990
670

Hey guys! Welcome back to another programming 3d minecraft video. Except in this one, I explain how to get started with programming 3d minecraft in javascript using three.js and perlin noise as the libraries. It's a really simple process and I code it completely from scratch with libraries. I try explaining everything I do from directories to lines of code to algorithms! In the next video of this series, I will continue the program and will also explain how to program the controls! So stay tuned for that! Thanks for the support :)

00:00 - Start
00:12 - Introduction
01:19 - Creating the file
02:38 - THREE.js
04:09 - perlin.js
06:06 - Starting to code!
08:19 - Basic Code
15:43 - Block Function Constructor
21:36 - Creating the Blocks
27:35 - Controls Module
29:45 - Result and Testing

Links:
Check out the code in my GitHub repository : https://github.com/HritikRC/Minecraft...
Intro to this series :    • Coding Minecraft With THREE.js! | Series I...  
Series Playlist :    • How to Code Minecraft  
THREE.js : https://threejs.org/
Perlin Noise Library (remember to include the license!) : https://github.com/josephg/noisejs
Perlin Noise Tutorial :    • 3D Terrain Generation with Perlin Noise in...  

Thanks for watching and see you in the next one!