Demo Video
https://www.youtube.com/watch?v=hTIcp9vw0X4
Introduction
Made a simple random world generation system in Minecraft
Technology
- Unreal Engine with C++ (Not blueprint)
Options for World Generation

Implementation (High level)
- Generate the base of the world based on world width and length
- Randomly choose points in the world as the centre of each mountain
- Randomly choose a number between 1 to max mountain height to act as the height of the mountain
- Build the mountain from top to bottom with randomisation (how should it be expanded and by how many units)
- Randomly choose points as the root of the tree
-
Randomly choose the height of the tree
<aside>
💡 The minimum height of the tree is fixed because the tree’s shape is to a certain extent fixed
</aside>
-
Randomise the corner leaf
<aside>
💡 For detailed implementation, check out the repository below (WorldGenerator.cpp and WorldGenerator.h) .
</aside>
Repository
There is the repository if you are interested in the complete implementation
https://github.com/leonCTL12/MC_WorldGeneration.git