Hello! I created little minecraft generator and thought that many people might learn from it. The script is kinda complex and messy, so I added descriptions to help anyone reading it.
It adds blocks randomly on a 8x8 plane (can easily be changed). I've added some generation rules so it's not completely random though. With some more work you could create a way to make it an endless world, I've only made it render 1 "chunk". Tweak the generation rules, make it add hills and you have a minecraft world :)
So what does it do?