#fabric template generator is so broken

19 messages · Page 1 of 1 (latest)

manic summit
#

i wanted to download the template of fabric 1.20.1 mod but it requires JDK 21 to build because of fabric loom 1.16 in build.gradle
but i can't build it with JDK 21 because the version of minecraft requires JDK 17 and when i want to gen sources a lot of errors appear
how to solve this problem???
i tried to change the version and replaced the row: id 'fabric-loom' version '1.5.8'
and new error appeared: A problem occurred evaluating root project 'test'.

Could not set unknown property 'client' for object of type java.lang.Object.

river elm
#

which fabric template generator?

#

i know for a fact that it never suggests that ancient loom version

#

why are you changing the loom version? the latest you had will work

#

and there's no issue with using jdk 21 to make mods for older versions, the build script is setup so that it builds for 17

manic summit
#

well i build with jdk 21

#

write ./gradlew genSources

#

and this appears:

Task :genSourcesWithVineflower FAILED

FAILURE: Build failed with an exception.

river elm
#

there should be more to that error

manic summit
#
  • What went wrong:
    Execution failed for task ':genSourcesWithVineflower'.

There was a failure while executing work items
A failure occurred while executing net.fabricmc.loom.task.GenerateSourcesTask$DecompileAction
Failed to run Gradle Worker Daemon
Process 'Gradle Worker Daemon 4' finished with non-zero exit value 1

#

seems like that's all

river elm
#

there should be a stacktrace

#

or run /gradlew genSources --stacktrace

manic summit
river elm
#

hmm that's useless

#

you can try deleting the project level .gradle dir
make sure your project isn't in onedrive dir or similar place

#

no files are being locked

manic summit
#

hmm
can i do without ./gradlew genSources
i ran minecraft client and it launched without errors