Goety

Goety

48k Downloads

Liches cannot be hit by mobs

Jackiecrazy opened this issue ยท 6 comments

commented

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.

commented

I guess I could look into this. Perhaps provide a modlist as well.

commented

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.

commented

I see, alright, will look into this then!

commented

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.

commented

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.

commented

I removed the potential lag thing in the latest update.