Posted August 8, 20178 yr I was able to get Villages to spawn in the Nether by copying the original MapGenVillage class and making one adjustment. Everything works fine except for the fact that they have a tendency to spawn in walls. Instead of using World#getTopSolidOrLiquidBlock I created my own modified version. I know this is the reason why the Villages are spawning in walls but I am not sure on how to issue a fix. The only thing I can think of is trying to find a part of the chunk that is mostly air but I am unsure how. Relevant Classes: Modiefied getTopSolidOrLiquidBlock MapGenVillage StructureNetherVillage Edited August 8, 20178 yr by LogicTechCorp
August 8, 20178 yr Author Would using Chunk#getBlockStorageArray be a good way to find the part of the chunk that is mostly filled with Air?
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.