FatherToast / SpecialAI

Adds additional AI patterns to mobs to make the game more challenging. 'Passive' mobs will fight back, monsters will break light sources and wooden doors, some mobs gain random extra abilities, and villages are more... village-y.
8 stars 7 forks source link

New world gen stuck #7

Closed Revelates closed 3 years ago

Revelates commented 3 years ago

No crash logs or anything sadly, just gets stuck at 100% when making a new world, works completely fine without the mod in my pack, or when I select an already created world to play on.

FatherToast commented 3 years ago

I have narrowed this down to where it happens from my side, but no idea why it happens. Will attempt a fix in the next version, but I can't guarantee it will work.

FatherToast commented 3 years ago

Version 1.0.1 is out and hopefully fixes the issue. I could not reproduce the deadlock reliably, but I haven't been able to get it with the updated version. If it works for you after updating, let me know and I will close the issue.

Revelates commented 3 years ago

Will do

Revelates commented 3 years ago

Yeah works fine now, Thanks for fixing it!

Jackiecrazy commented 3 years ago

Entity.kill() will call LivingDeathEvent on forge, which will cause deadlocks if a mod attempts to perform some action that requires accessing the world. There is a function that bypasses the kill and directly removes the mob, though the name currently eludes me.