Hey guys,
I have a question, i'm working on a mod, and i've hit the point where i need to generate something on the surface only in swamplands, what do i have to give it for the y coord and how do i make a block only spawn in certain biomes. In my case Swampland.
Thomas
P.S. This is the part I need to edit:
int Xcoord = blockX + random.nextInt(1);
int Ycoord = random.nextInt(1) + 10;
int Zcoord = blockZ + random.nextInt(1);
(new WorldGenMinable(Dutchmodmain.veenblok.blockID, 30)).generate(world, random, Xcoord, Ycoord, Zcoord);