fabric: Cant't launch mod in the Eclipse workspace

There is an issue when I try to launch mod in the debug mode in the Eclipse IDE.

Exception in thread "main" java.lang.RuntimeException: Failed to read accessWidener file from mod fabric-object-builder-api-v1
	at net.fabricmc.loader.transformer.accesswidener.AccessWidener.loadFromMods(AccessWidener.java:60)
	at net.fabricmc.loader.launch.knot.Knot.init(Knot.java:130)
	at net.fabricmc.loader.launch.knot.KnotClient.main(KnotClient.java:26)
	at net.fabricmc.devlaunchinjector.Main.main(Main.java:86)
Caused by: java.lang.RuntimeException: Namespace (intermediary) does not match current runtime namespace (named)
	at net.fabricmc.loader.transformer.accesswidener.AccessWidener.read(AccessWidener.java:78)
	at net.fabricmc.loader.transformer.accesswidener.AccessWidener.loadFromMods(AccessWidener.java:58)
	... 3 more

Minecraft 20w18a Fabric 0.10.2+build.337-1.16 Yarn 20w18a-build.9 Loader 0.8.2+build.194 Loom 0.4.3

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 19 (8 by maintainers)

Most upvoted comments

With loom 0.2.7 errors still exists 😕

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring root project 'JustMap'.
> Failed to find mapping for EntryTriple{owner=net/minecraft/class_4970$class_2251,name=<init>,desc=(Lnet/minecraft/class_3614;Lnet/minecraft/class_3620;)V}

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 54s
duplicate input class net/fabricmc/fabric/mixin/object/builder/MixinBlock, from C:\Users\Bulldog\.gradle\caches\modules-2\files-2.1\net.fabricmc.fabric-api\fabric-object-builders-v0\0.5.0+bf7c167ae8\efdddd05c8cc477e2f3beb5860a6763b71b2986b\fabric-object-builders-v0-0.5.0+bf7c167ae8.jar and C:\Users\Bulldog\.gradle\caches\modules-2\files-2.1\net.fabricmc.fabric-api\fabric-object-builder-api-v1\1.0.1+bf7c167ae8\a16920d5ed6317d228db8e97dc1b4fb882da900f\fabric-object-builder-api-v1-1.0.1+bf7c167ae8.jar

With Minecraft 1.15.2 all are ok.

You need to update loom to 0.2.7. After doing that you may need to delete the remapped mods folder, this will be in your projects .gradle folder