Crashing with mod "Neutral Animals 1.1.0"
Jurklein opened this issue ยท 4 comments
Tried Minecraft 1.17.1 with fabric modloader v0.11.7; mods:
- dataattributes-1.0.6
- neutral-animals-1.1.0
- fabric-language-kotlin-1.6.5+kotlin.1.5.31 (required for neutral-animals)
- cloth-config-5.1.40-fabric
- fabric-api-0.42.+1.17
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
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.
Hello @CleverNucleus,
Any update on this?
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.