
[Bug] Unplayable lag spikes with priest entities
Closed this issue ยท 5 comments
Observed behaviour
Hello ! I had a very intense lag spike when playing with Iron's Spellbooks on my modpack
I used spark to detect who was the culprit and it was about this :
o.redspace.ironsspellbooks.entity.mobs.abstract_spell_casting_mob.NeutralWizard.aiStep
Lag spikes were not stopping, so I killed every priest around me with /kill @e[type=irons_spellbooks:priest] and it stopped
Here is the spark profile I generated, if you want to read it : https://spark.lucko.me/_
Expected behaviour
Priest casting shouldn't be laggy
Steps to reproduce
- Download the modpack
- Spawn in game
- Find a village
- Turn the game to nighttime
- Lag ?
Server Type
Single Player
Crashlog
No response
Iron's Spells N Spellbooks version
irons_spellbooks-1.20.1-3.4.0.8
Forge version
47.3.22
Other mods
All the mods from my modpack : https://www.curseforge.com/minecraft/modpacks/minecraft-legendary-edition
Crashlog Check
- I understand if this is a crashbug and I did not attach a crashlog, this will not be handled
Fabric Check
- I understand if I am using Farbic APIs or Connector, this will not be handled
Oh my bad, the .sparkprofile doesn't create a link
here is the file : https://we.tl/t-AaofEmMmW7
you can drop it in spark
dawg what is that
the profiler creates a link in chat when it's complete, send that here
Okay that is quite sad but the latest spark update might have changed the behavior of the /spark sampler who acted like the /spark profiler
Now it gives a .sparkprofile file instead of a link
I'll try to catch the lag spikes again and use the profiler instead so we get a link in the future