Open randomcoder67 opened 1 month ago
I'm not sure exactly why it behaves that way, but because this project is for multiple Minecraft versions and multiple mod loaders at the same time, the gradle structure is a bit different from normal. If you want to build all subprojects and collect the jars into the main build/libs
folder, run ./gradlew buildAndGather
instead. Otherwise there are version-specific tasks like ./gradlew :1.20.4-fabric:build
. That's also why there's no fabric.mod.json
in the main source directory, because that code is common for both Fabric and Forge. It's located in versions/1.20.4-fabric/src/main/resources/fabric.mod.json
instead and will be shared for all -fabric
projects.
Running:
./gradlew build
This will be the eventual output:
And it will seemingly hang like this forever. Pressing
Ctrl-C
to kill the process will leave a java process running in the background, taking up a lot of CPU but seemingly doing nothing.There are some errors/warnings about the remapJar tasks:
Also for some reason running exactly the same command again (after force killing the background java task), it seems to build fine.
Building on Arch Linux with openJDK 17