Posted June 28, 201510 yr Hello modders, i had a question about world generation in a specific biome, in 1.7 i used this: BiomeGenBase biomegenbase = world.getWorldChunkManager().getBiomeGenAt(chunkX, chunkZ); if (biomegenbase == BiomeGenBase.desert) { for(int x = 0; x < 10; x++) { int i = chunkX + rand.nextInt(16); int j = rand.nextInt(128); int k = chunkZ + rand.nextInt(16); pyramid.generate(world, rand, i, j, k); } } but this doesn't work anymore in 1.8, thx for reading
June 28, 201510 yr Author there is an error, getBiomeGenAt is changed, in 1.7.10 it was getBiomeGenAt(int x, int z), but in 1.8 it is: getBiomeGenAt(BiomeGenBase[] listToReuse, int x, int z, int width, int length, boolean cacheFlag)
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.