[Bug] Vampirism entity event handler causing massive lag?
Yourname942 opened this issue ยท 2 comments
Versions
-
Minecraft: 1.16.5
-
Forge: 36.0.42
-
Vampirism: 1.7.4
-
ModPack: The Land of Super Friends
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
- be on a multiplayer server
- Become a vampire
- find a zombie spawner
- player who is a zombie was mining and doing his thing for a while around the area around/below it
- 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
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
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.