Villages can turn out a little bit smaller due to structure removal
Fourmisain opened this issue · 1 comments
While debugging the issue of #73 I found another small one.
There's this code here which ensures waystones are unique in each village:
FabricWaystones/src/main/java/wraith/waystones/util/Utils.java
Lines 251 to 271 in e11e7d0
It does this by removing all structures that contain waystones except 1.
This means if a village were to generate with multiple waystones, because those structures are getting removed without replacement, the village will actually be smaller than intended.
To demonstrate this I boosted the weighting of waystone structures from 5 to 500 here:
Here's a village without waystone generation:
Here's the same village with the boosted waystone generation:
Of course this comparison is heavily exaggerated, but it's still an issue to a lesser degree.