dzwdz / chat_heads

Mozilla Public License 2.0
59 stars 34 forks source link

Captain Pillager not spawning #106

Closed Efendiminati closed 3 months ago

Efendiminati commented 3 months ago

Is there a chance that chat heads interve captain pillager's spawning? I was looking for this issue on reddit and the guy having the same problem said solved this by deleting chat heads and it seems its true, captain pillagers do not spawn with this mod on

Fourmisain commented 3 months ago

I don't see how that would be possible, being a client-side mod and all, but you never know, so here's my results:

Using spawn eggs: spawnegg

Force-spawned patrols (by modifying the game's patrol timer from 5 1/2 days to 0 ticks): forcespawn

That is in Fabric 1.21.

To be honest, this sounds like someone convinced themselves there's an issue, removed a mod and then convinced themselves that that was the solution, when everything was intact the entire time.

Captains are rare - regular Pillager spawns only have a 6% chance to be a captain.

Patrols also only spawn every 5 1/2 ingame days, with a chance of only 1 in 5 - so realistically it's more like every 27 1/2 days - and even then they could just not spawn due to missing spawn conditions (block light level ≤ 8, not being near a village, etc).

Afaik Raids have guaranteed Captain spawns, so if you wanna do some testing, start a raid: raid

Efendiminati commented 3 months ago

Ah, thank you for looking into it and sorry for inconvenience.

Fourmisain commented 3 months ago

No problem!

Just one last thing: It is possible that such an issue is caused by two conflicting mods and that deactivating a random mod (temporarily) fixes it. This got to do with the load order of mods - some order may work fine, another may cause the issue.

That said, I still find it highly unlikely that there actually are two mods specifically modifying the game's captain logic in such a way for this to happen.

Assuming the issue is real, the only thing I could think of is mods that change/lengthen the time of day. If e.g. the day is 3x as long, this may also increase the (already long an random) time between patrol spawns 3-fold, making it appear as if they never spawn.