I just started recently and have been learning a lot.
I have been trying to generate a block on grass for quite some time now.
I managed to get it correctly generated however the block only generates if the vein is 4 or greater (the actually blocks in the world that are generated generate anything from 1 to 4). If i set it to 3 or lower nothing will be generated.
Any fix for this or any other methods i can use to generate a block in a chunk size of 1 or 2.
Here is code for the world gen
I dont get any crashes even if the value is lower than 4
Thank you for any help