Liches cannot be hit by mobs
Jackiecrazy opened this issue ยท 6 comments
Mobs other than undead target me, but cannot deal damage. The hit animation does not play and I do not get knocked back. I suspect it has to do with this line in conjunction with another mod that prevents damage on freshly spawned zombies, perhaps. I can confirm that it has to do with being a lich, but my profile has over 300 mods and I don't know which of the others could be possibly causing it.
text.txt
It's also happening with things that really should be attacking zombies, like iron golems. I'm also a little concerned that constantly generating a new zombie, even if it's not being spawned, may impact performance somewhat. I've enlisted a few of my own testers to help in the meantime.
Between inexplicable crashing, datapack failures, dependency chains, and broken respawning, that was an extremely aggravating issue to test. Minecraft modding is really inaccessible nowadays. I guess it's the liberal use of mixins.
It's actually my own mod all along. Bizarre.
aha, I see.
to add a pseudo-"attack speed" to mobs (especially slimes), I used a mechanic that temporarily disables attacking after every mob attack. With lichdom, all attacks are first directed to a dummy zombie, which procs the attack speed hack, which causes the actual player interaction to do nothing.
I'll try to fix it from my side, though my point about potential lag still stands.