Minecraft Development for IntelliJ plugin version
2026.1-1.8.17
IntelliJ version
IntelliJ IDEA 2026.1.3
Operating System
Linux
Target platform
Fabric, Mixins
Description of the bug
In Fabric's fork of Mixin, the @Desc annotation allows matching for field instructions (see FabricMC/Mixin#160). The plugin doesn't recognize this and does not resolve fields for @Desc values.
Example code:
@Mixin(Creeper.class)
@Desc(id = "swell", value = "swell", ret = int.class)
public class CreeperMixin
{
@Redirect(method = "causeFallDamage", at = @At(value = "FIELD", target = "@Desc(swell)", opcode = Opcodes.PUTFIELD))
private void causeFallDamage(Creeper creeper, int swell)
{
if (Minecraft.getInstance().player == null)
{
return;
}
Minecraft.getInstance().schedule(() ->
Minecraft.getInstance().player.sendSystemMessage(
Component.literal("[")
.append(creeper.getStringUUID())
.append("] swell: ")
.append(String.valueOf(swell))
));
}
}
Minecraft Development for IntelliJ plugin version
2026.1-1.8.17
IntelliJ version
IntelliJ IDEA 2026.1.3
Operating System
Linux
Target platform
Fabric, Mixins
Description of the bug
In Fabric's fork of Mixin, the
@Descannotation allows matching for field instructions (see FabricMC/Mixin#160). The plugin doesn't recognize this and does not resolve fields for@Descvalues.Example code: