Vampirism - Become a vampire!

Vampirism - Become a vampire!

16M Downloads

[Bug] Vampirism entity event handler causing massive lag?

Yourname942 opened this issue ยท 2 comments

commented

Versions

Issue Description

Something is causing an extreme amount of lag, and it seems to be an entity event hanlder - a task

[27Feb2021 17:41:01.493] [Server thread/INFO] [de.teamlapen.vampirism.entity.ModEntityEventHandler/]: Unknown zombie entity type dungeons_mobs:armored_zombie for zombie target task

[27Feb2021 17:43:02.852] [Server thread/INFO] [de.teamlapen.vampirism.entity.ModEntityEventHandler/]: Unknown zombie entity type betterdefaultbiomes:frozen_zombie for zombie target task

Reproduce Steps

  1. be on a multiplayer server
  2. Become a vampire
  3. find a zombie spawner
  4. player who is a zombie was mining and doing his thing for a while around the area around/below it
  5. other players were experiencing a lot of lag and high ping.

Additional Information

latest log: https://gist.github.com/Yourname942/2dfc101ee48eb8140a2602c81810c327
spark profile: https://spark.lucko.me/#nNEIA5Bgjm

commented

Pretty confident that the ModEntityEventHandler is not responsible for the lag.
The zombie AI changes are only executed once per zombie spawn, so at most every few seconds. Also they do not require a significant computation time.

I'm not sure why you are pinpointing Vampirism for this. The log you mentioned only occurs two times and in the profile I cannot see anything indicating that Vampirism is taking up more time than usual. Many other mods in the profile show higher computation time

commented

This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.