Necronomicon API

Necronomicon API

29M Downloads

Invalid mixin for 1.20.1 v 1.6.0 (fabric)

skycatminepokie opened this issue · 3 comments

commented

I've seen a lot of crashes due to an invalid mixin on 1.20.1. Looks like you're trying to inject into ItemStack#getHoverName, which does not exist.
https://gnomebot.dev/paste/mclogs/pMYW0nP
https://maven.fabricmc.net/docs/yarn-1.20.1+build.10/net/minecraft/item/ItemStack.html

commented
commented

Are you sure? I don't see a mixin config class, and I've always seen them fail as a classnotfound, not a critical injection failure.
https://github.com/nvb-uy/Necronomicon/blob/main/src%2Fmain%2Fjava%2Felocindev%2Fnecronomicon%2Fmixin%2Ffabric%2FAnimatedItemNameMixin.java

I could just be blind though

commented

Yes. Mixin config is set to required: false. Meaning that if a mixin fails, it won't be applied.

Both mixins from this mod are optional as the mod consists mostly in utility classes and common code i repeat across my mods