CleverNucleus / data-attributes

Minecraft Fabric mod that overhauls the entity attributes system and exposes it with datapacks.
MIT License
12 stars 15 forks source link

Crashing with mod "Neutral Animals 1.1.0" #3

Closed Jurklein closed 2 years ago

Jurklein commented 3 years ago

Tried Minecraft 1.17.1 with fabric modloader v0.11.7; mods:

The intent of the aforementioned mod is enabling passive mob "fight back" whenever a player hits one. When a passive mob is about to inflict the attack, the game crashes with the following error: ... java.lang.IllegalArgumentException: Can't find attribute minecraft:generic.attack_damage ...

Full log: dataattributes+neutralanimals_crash.log

CleverNucleus commented 3 years ago

Hi there, I've checked this out and I think I've found where the problem is - it's more or less an issue of conflicting mixins inside LivingEntity (I think). I'll look into confirming that this is indeed the issue, if it is then it's easily fixed on the side of Neutral-Animals with roughly 2-3 lines of code. Thank you for reporting the issue.

Jurklein commented 2 years ago

Hello @CleverNucleus, Any update on this?

CleverNucleus commented 2 years ago

Hi there, I've not forgotten about this; I plan to submit a merge to fix the issue this month, I've just been a bit busy. I appreciate your continued patience on this issue. Thanks.

CleverNucleus commented 2 years ago

Fixed with the latest release of Neutral Animals.