[Witchery Bug] Villager sleeping oddities
TechnoMysterio opened this issue ยท 2 comments
Description
This one's another village-related bug that's hard to dissect, but villagers seem to have trouble path-finding to their bed and sleeping in it. Here's some observations at least:
- Some villagers attempt to get to their beds through a wall, even if there's another path around it to the bed.
- Sometimes villagers stand right next to their beds and refuse to get in unless you pick up the bed and place it back down. I guess the needy buggers want me to make their beds for them, but I'm not having it.
- If there's a block above the head of the bed, then the villager can suffocate when lying in the bed.
- We've also had villagers randomly suffocating when walking around houses, which apparently kills some of them when we're not looking.
- Villagers produce the "new trade" sparkle effect randomly when walking around, can't figure out why.
Context
Environment
The issue is present in Single-Player and Multi-Player
Other mods
The issue is present with just Forge and Witchery: Resurrected
Steps to Reproduce
Not even gonna try to give steps here, this one's annoying since AI is difficult to test. Check the observations list for a few that can be tested at least.
Picture
Here's a picture of a villager suffocating while standing up, and also producing particles:
Starting from version 0.33.0-beta, a new tweak "Villager - Tweak Remove Backported AI" in "Entity Tweaks" section of config file is available, disabled by default. When enabled, it will remove the new AIs that Witchery adds to villagers, and that should solve this issue, aligning villagers' behavior to Vanilla
Ooo, I wonder if that also resolves the incompatibility with Cubic Chunks, since that was caused by villagers scanning for beds?
Also, would you be able to restore the original Witchery feature where villagers just kinda spawn their own beds when going to sleep? The sleeping is still a needed feature for vampires.
It existed in earlier versions of Witchery Resurrected.