Fabric API

Fabric API

106M Downloads

Error starting dev server with 0.40.1 and mojang mappings

warjort opened this issue ยท 3 comments

commented

Log showing NPE during mixin remapping for gametest api:
latest.log

Steps to reproduce:

  • Checkout fabric example mod
  • Change it to use fabric api 0.40.1
  • Change it to use mojang mappings
  • Type gradlew runserver

Diff of changes described above (warning mojang mappings - but its just adding an s to a package name :-)
diff.txt

I don't know whether this is caused by an error in the new fabric gametest api or the update to mixins?
It works fine with yarn mappings.

Workaround, exclude the gametest api in your build:

    modImplementation("net.fabricmc.fabric-api:fabric-api:${project.fabric_version}") {
      exclude group: "net.fabricmc.fabric-api", module: "fabric-gametest-api-v1"
    }
commented

What loom version are you using?

commented
$ ./gradlew runserver
To honour the JVM settings for this build a single-use Daemon process will be forked. See https://docs.gradle.org/7.2/userguide/gradle_daemon.html#sec:disabling_the_daemon.
Daemon will be stopped at the end of the build

> Configure project :
Fabric Loom: 0.9.52
commented

Closing as this is a duplicate of #1722 ๐Ÿ‘