MCA Villagers don't spawn with DH
The villages in my modpack are completely lacking villagers from MCA, only golems and pillagers spawn fine, I'm using internal server to generate distant chunks as feature mode crashes twilight forest.
The modpack is Tekxit 4 on technic launcher. I can provide any other details, I'm at work but I will be doing more testing at home.
Solution:Jump to solution
GitHub
Villagers not spawning on pre-generated Worlds · Issue #1048 · Lu...
Describe the bug When I create a world and pre-generate the world with Chunky (for server performance matters), only all villages within the range that was pre-generated are empty. The villages are...
34 Replies
Are the villagers not spawning in your vanilla render distance or do you mean they aren't spawning in lod distance?
LOD distance
Entities aren't loaded in lods
So far ive got someone else testing and it seems the villagers load fine on newly generated chunks
So im wondering if its when they are loaded in LOD distance then the server is shut down
How are they loading entities in lods? I thought that wasn't possible!
Ive got multiple reports of blank villages and visiting one in my self hosted server 3 unvisited villages were blank only post distant horizons update (there was no other changes)
Its not
The village is being generated with internal server
The villagers dont load in until player visits
Which is why im very confused
That is how it should be
For the villagers to load in the village has to be inside the simulation distance
No im aware
Im saying the villagers NEVER load
As in going inside the village its completely empty
That is not for DH to decide, DH does not change or even touch spawning
This only happened after distant horizons so its some sort of interaction with mca is what im saying
I went here to see if this has been seen before
Im not blaming distant horizons
Also you can use an Addon for DH that will render entities if any of the players has them inside the simulation distance
The MCA villagers im sure are doing something special
Ill do lots of more testing and report back here later though
Try reporting it to MCA villagers
Villagers are not spawning in villages in chunks generated far away by mod Distant Horizons (Internal_Server generator mode)
Maybe this can be related: https://github.com/WildBamaBoy/minecraft-comes-alive/issues/1420
GitHub
Invisible Villagers · Issue #1420 · WildBamaBoy/minecraft-comes-a...
When I join my world, I can go in the village and see my population of villagers that are registered there., but I can't see any villagers or their children walking around. So they are basicall...
No its not
They are actually not spawned back in
So more testing was done, if a chunk is loaded far away by the internal server with a village and you go right to it then the villagers spawn in fine
However if a village loads far away then you dont visit it for a while or the server shuts down (both cases the chunk unloads again) then the villagers never spawn in
This is more likely a bug with mca villager spawn system, its possible its gone unnoticed by anyone because most people near a village are also in simulation distance and entity rendering distance
Ill do more research tomorrow maybe more tonight
Whats this about an addon for entities showing far away?
If any player has an entity loaded in simulation distance, all other players will be able to see LODs of those entities
It also allowed players to see entities a bit further away cause of overdraw (~1 chunk of additional entity LOD visibility for every player)
Yeah, you should probably report this to them, pregenerating with any other pregenerator will probably result in the same bug
Solution
GitHub
Villagers not spawning on pre-generated Worlds · Issue #1048 · Lu...
Describe the bug When I create a world and pre-generate the world with Chunky (for server performance matters), only all villages within the range that was pre-generated are empty. The villages are...
and there it is
This is not a distant horizons issue but it's super noticeable with distant horizons
Hopefully this helps someone in the future
@Puhpine (UTC +2) This might be worth adding to the #faq-mod-support
Villagers don’t spawn in villages with Minecaraft Comes Alive mod MCA requires chunks to tick when spawning village, make sure that: - server’s simulation and render distances match - client’s simulation and render distances match - distant generation mode is set to FEATURES or PRE_EXISTING_ONLY; Any use of any vanilla chunks pregen will cause the villagers to not spawn, that includes among others Chunky mod and DH’s INTERNAL_SERVER generation modeA bit long, can probably be improved a bit
First time even hearing about this mod. I don't think it's worth adding to the FAQ, yet.
Me too, though the original has 13,846,395 downloads on CurseForge
It is stuck on 1.12.2, but it looks like it has updated version MCA Reborn with 8,764,321 downloads on CurseForge and 1.05M on Modrinth
Part of the reason it is the first report of this bug here might be that the default distant generation mode FEATURES works correctly
Im talking with the mod dev about fixing it
This mods reminds me a bit of Tales Of Kingdom mod
Ill report back here in a few days mayb
I offered a bug bounty, although im not even sure thats a thing in the mc modding community
The issue though is their spawn system is based off of ontick
Chunks so far away obviously dont get ticked, and so when they eventually unload the mca villagers never get to spawn
Maybe you can tick the chunks that were just generated using some mixing into the chunk generation process
Though that would be just a bandage, a proper non-tick dependant fix would still be needed
Other way might be to add special support for the pregenerator themselves by mixing-ing into them or using their APIs

some progress on my end :wutSmile:
need to do more testing..



fixed (:
Im doing chunkloading of 10k block radius using chunky to make sure it doesnt crash
Im variating the performance using task affinity to make sure different performances cause no issues

GitHub
Fix far away villager spawning. by SlayerTheChikken · Pull Request...
Fixes #1048 and may cause issues related to #842 so I advise testing this fix, in my personal testing on Fabric 1.19.2 with Chunky pregeneration and Chunkumulator (have not tried C2ME) on the Tekxi...