Jump to content

Ineentho

Members
  • Posts

    2
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    I am new!

Ineentho's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. The problem with it being null is that we don't know if it's a vanilla village or one of our own villages, so that would not work
  2. Hello, We are creating a custom village by just replacing the blocks with other blocks styled to fit the biome. We do this by listening to the BiomeEvent.GetVillageBlockID event, like this: @SubscribeEvent public void event(BiomeEvent.GetVillageBlockID event){ if (WorldChunkManagerNorthrend.allowedBiomes.indexOf(event.biome) != -1){ event.setResult(Event.Result.DENY); event.replacement = ...; } What we has found is that there are two reasons why the biome can be null: The structure is a well, in which case mojang sets startPiece to null, for understandable reasons since the well is the origin of the village. Even though we would like to get the biome here as well, I can understand and accept this. For some strange reason, whole villages sometimes has a null biome. Sadly enough, we've not been able to find the cause of this. The only way out seems to be making a custom version of all the biome gen things, which is several really fat files. As you probably can understand, we would love to avoid that. What would you suggest we should do?
×
×
  • Create New...

Important Information

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