Replies: 2 comments 3 replies
-
You need to use the correct version of JDK Also, coding is much easier using an IDE instead of the command prompt. |
Beta Was this translation helpful? Give feedback.
-
Let's take one step back. Are you making some changes to the code, or are you just looking for the 1.20.6 or 1.21 mod updates? There are already built mod jars for those versions in Sakura-Ryokos forked repos. If you are working on the mod code, then which MC version are you working in? Are you using the appropriate code branch as a starting point? And finally The Fabric tool chain's setup command is And you need to be using the correct JDK version for the MC version. For 1.12.2 or older Forge or LiteLoader you need JDK 8. For Fabric you can use more recent JDK versions like JDK 16 up to MC 1.17.1 and MC 1.18+ I believe needs JDK 17+ and then 1.20.5+ needs JDK 21+. And the used Gradle plugin version (Loom for Fabric projects) also needs to be set appropriately to support the JDK version. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions