thomas6886 Posted January 12, 2013 Posted January 12, 2013 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); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.