-
Notifications
You must be signed in to change notification settings - Fork 190
Open
Description
[1.21.10] Game Crash When Loading Modmenu Alone (fabric-screen-api-v1 Mixin Injection Failure)
Environment Information
- Minecraft Version: 1.21.10
- Fabric Loader Version: 0.18.3
- Modmenu Version: 17.0.0-alpha.1
- Java Version: Java 21
- Operating System: Windows 11 Pro 64-bit (10.0, Build 26200) (26100.ge_release.240331-1435)
- Number of Loaded Mods: Only Modmenu、Fabric API、Text Placeholder API (Mod Support Library)
- Processor: 12th Gen Intel(R) Core(TM) i5-12450H (12 CPUs), ~2.0GHz
- Memory: 16384MB RAM
- Card name: Intel(R) UHD Graphics
Description
After installing the Modmenu mod alone and launching the game, a crash is triggered immediately. The core cause of the crash is a failed Mixin injection from the fabric-screen-api-v1 mod, which cannot find the target method method_25423(II)V. The game launches normally after removing Modmenu, confirming the issue is solely caused by the Modmenu mod.
Reproduction Steps
- Install Minecraft 1.21.10 with Fabric Loader 0.18.3.(Possess the Fabric API)
- Install Modmenu and its prerequisite libraries
- Launch the game, which triggers a crash with repeated Mixin injection failure errors in the log.
Core Error Log Snippet (Formatted Code Block)
[14:18:10] [Datafixer Bootstrap/ERROR]: Mixin apply for mod fabric-screen-api-v1 failed fabric-screen-api-v1.mixins.json:ScreenMixin from mod fabric-screen-api-v1 -> net.minecraft.class_437: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException Critical injection failure: @Inject annotation on beforeInitScreen could not find any targets matching 'method_25423(II)V' in net/minecraft/class_437. No refMap loaded. [INJECT_PREPARE Applicator Phase -> fabric-screen-api-v1.mixins.json:ScreenMixin from mod fabric-screen-api-v1 -> Prepare Injections -> handler$dcc000$fabric-screen-api-v1$beforeInitScreen(IILorg/spongepowered/asm/mixin/injection/callback/CallbackInfo;)V -> Parse -> -> Validate Targets]
org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: @Inject annotation on beforeInitScreen could not find any targets matching 'method_25423(II)V' in net/minecraft/class_437. No refMap loaded.
Actual Behavior
The game crashes immediately on launch. The log repeatedly outputs the aforementioned Mixin injection failure error, preventing access to the game's main menu.
Metadata
Metadata
Assignees
Labels
No labels