Polarice3 / Goety-2

Learn the secrets of Illager magics and master the dark arts.
https://www.curseforge.com/minecraft/mc-mods/goety
MIT License
4 stars 4 forks source link

Liches cannot be hit by mobs #15

Closed Jackiecrazy closed 1 year ago

Jackiecrazy commented 1 year ago

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.

Polarice3 commented 1 year ago

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

Jackiecrazy commented 1 year ago

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.

Polarice3 commented 1 year ago

I see, alright, will look into this then!

Jackiecrazy commented 1 year ago

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.

Jackiecrazy commented 1 year ago

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.

Polarice3 commented 1 year ago

I removed the potential lag thing in the latest update.