Posted May 12, 201312 yr I'm attempting to do some heavy world generation modding with regard to the Gen Layer Classes. So far I have worked out some things, but there are just so many variable that it is really impossible to try and understand fully what is going on. Currently the way minecraft generates the world through gen layer seems to be a zooming fractal function. This was kind of explained almost a year ago now, in this http://www.minecraftforge.net/forum/index.php?topic=438.0, but through searching I have not found any more information on the procedure. Personally I'm looking to make layers of rings of biomes which would make interesting island terrain. Eg Ocean >(Inside the ocean) Coast >(Inside the coast) Hinterlands>(Inside the hinterlands) Highlands etc. Does anyone have a good grasp of the genlayer system? Or can explain it any further than in the thread I previously linked? Thanks
May 12, 201312 yr I've been looking at this stuff also, and as someone who has really only learned java by modding minecraft, so maybe you will have more luck figuring it out, but i would take a look at GenLayerShore that seems to be a little of what you are looking to do, basically seems to specify the edges of the biome as a different biome.
May 12, 201312 yr Author Yeah you are right about shore it sets the rules for the border biomes beaches and x hills edges etc. I've also worked out each time a gen layer zoom is called it expands everything above it by x4. So for example if you called it twice after add mushroom island, mushroom islands would be 16x bigger, along with the whole world too. The confusing parts begin inside the classes where it's unclear whether an int is just a number used in the maths or whether its referring to a biome Id. Often lots of zeros refer to the ocean biome as its index is 0
May 13, 201312 yr If you are using eclipse double clicking the variable will highlight it throughout the entire class allowing you to see wether it is used in math or a function.
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.