mojira.dev
MCPE-64344

Villagers working cause game to slow down significantly

Summary:
Villagers working cause the game to slow down significantly. The more working villagers there are, the slower the game gets.

Steps to Reproduce:

  1. Create a new world.

  2. Place down 20 beds and workstation blocks.

  3. Spawn 20 villagers.

  4. Wait for the villagers to go to work.

  5. Everything should now be slowed down. Try to hit one of the villagers, restore hunger, throw an item, or set yourself on fire.


Original Description:
The village I'm at plays in slow motion. Only I can move normally. Damage semms to also be slowed down since the iron golems take longer to die. Every entity that enters those chunks slow down as well. Every entity leaving moves normally.

Linked issues

Attachments

Comments 11

The problem probably caused by server time that sometimes got slowed down in village area

Seems like those chunks have something causing lag underground (very unlikely) but you should check

Siddhant Kuchnure

The lag only seem to occur while the villagers are in their working hours.

AggressiveMexican

Even holding 12 can affect ServerTime. I don't understand how villagers standing next to their workplaces can cause such performance problems.

Have also noticed this on Bedrock Dedicated Server.

A villager trading hall one of the players made consumes 10-15% of the core the main game thread is running on. As soon as the area is left or the player logs out the usage drops.

1 more comments

This could be due to the new work requirement for iron golems spawning. The game has to track what % of villagers work each day. Perhaps instead of updating each villager record once per day, it is constantly updating the village record, perhaps on every game tick.

I have a village with several villagers spread out through multiple chunks. This causes no lag. However, I tried to build a wheat farm with 15 villagers concentrated in one central chunk, and I can't go anywhere near it or the game freezes for literally 30 seconds (everything stops moving, including villagers, minecarts, golems, and any other entities) before becoming very choppy when it starts moving again.

Happening on PS4 1.17.10 single player survival world.

Anytime I'm near villagers the game becomes very stuttery/choppy things begin to freeze everything slows down.

still in 1.18.30 

Stop using my real name

Affects 1.19.20

Isolated Potato

(Unassigned)

322660

Confirmed

Windows

1.17.10, 1.16.100.57 Beta, 1.16.0.51 Beta, 1.15.0.56 Beta, 1.15.0.55 Beta, 1.15.0.54 Beta, 1.16.100, 1.18.31, 1.19.21 Hotfix

Retrieved