Skip to content

[MixinExtras] ModifyExpressionValue target MIXINEXTRAS:EXPRESSION reporting error with locals #2487

Open
@SettingDust

Description

@SettingDust

Minecraft Development for IntelliJ plugin version

2025.1-1.8.5

IntelliJ version

2025.1.2

Operating System

Windows 10

Target platform

Minecraft Forge

Description of the bug

Error Cannot resolve any target instructions in target class
It's working in game.

CC @LlamaLad7

For context:
https://discord.com/channels/1201671028812828692/1204512034809577542/1389182358560968834

    @Definition(id = "crashOnOldAPI", local = @Local(type = boolean.class, ordinal = 1))
    @Expression("crashOnOldAPI = @(true)")
    @ModifyExpressionValue(method = "check", at = @At(value = "MIXINEXTRAS:EXPRESSION"))
    private static boolean lmfixes$avoidCrash(boolean crashOnOldAPI) {
        return false;
    }

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions