Minecraft Development for IntelliJ plugin version
2026.1-1.8.20
IntelliJ version
IntelliJ IDEA 2026.1.4
Operating System
Windows 10
Target platform
Fabric
Description of the bug
I have an Enum Mixin for EnchantmentTarget.class (yarn 1.20.1), which creates a warning on the Constructor's @Shadow:
Invalid access modifiers, has: private, but target member has: packageLocal
Making it package-private, as suggested, does seemingly nothing.
At runtime there don't seem to be any issues, but LlamaLad7 requested that I open an issue for that.
Its just a basic Fabric 1.20.1 yarn project but for more context, here is the repo: https://github.com/JR1811/NeMuelch/blob/f55834b33f0f28b4e53dfbec40b834434f61b3de/src/main/java/net/shirojr/nemuelch/mixin/EnchantmentTargetsMixin.java#L27-L29
Minecraft Development for IntelliJ plugin version
2026.1-1.8.20
IntelliJ version
IntelliJ IDEA 2026.1.4
Operating System
Windows 10
Target platform
Fabric
Description of the bug
I have an Enum Mixin for
EnchantmentTarget.class(yarn 1.20.1), which creates a warning on the Constructor's@Shadow:Invalid access modifiers, has: private, but target member has: packageLocalMaking it package-private, as suggested, does seemingly nothing.
At runtime there don't seem to be any issues, but LlamaLad7 requested that I open an issue for that.
Its just a basic Fabric 1.20.1 yarn project but for more context, here is the repo: https://github.com/JR1811/NeMuelch/blob/f55834b33f0f28b4e53dfbec40b834434f61b3de/src/main/java/net/shirojr/nemuelch/mixin/EnchantmentTargetsMixin.java#L27-L29