Terrain genaration not working

Hi, for some reason my terrain genaration is not working (im making minecraft) and i cant find the problem.

So please help me find it and fix it

don’t you have a post for this already???

no i need help finding the bug

Link?

here