improved version of a world generator I made using another tutorial from the same guy for more realism you can use this in your projects if you are too lazy to code perlin noise
credits to @FindingPepper on youtube for the 2 perlin noise tutorials, they were really helpful and without them one of my best games would not exist