Jump to content

Recommended Posts

Posted (edited)

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 by LogicTechCorp

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.