How to procedurally generate a world (Like minecraft)

I am making an open world survival game kinda like minecraft just not with cubes but with actual terrain and I need to generate the landscape like in minecraft with actual landscape :slight_smile: