User Tools

Site Tools


tutorial:setup

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
tutorial:setup [2022/08/14 21:16] – external edit 127.0.0.1tutorial:setup [2022/10/01 15:40] – [Missing sounds] solidblock
Line 16: Line 16:
    - Import the build.gradle file to your IDE. You may refer to the next section for specific IDE's.    - Import the build.gradle file to your IDE. You may refer to the next section for specific IDE's.
    - Happy modding!    - Happy modding!
 +
 +=== Fabric Mod ID Change ===
 +As of Minecraft 1.19.2, Fabric API's mod ID has changed from ''fabric'' to ''fabric-api''. When backporting from 1.19.2 to earlier versions, you must alter the ''depends'' section of your ''fabric.mod.json'' to expect ''fabric''.
  
 === IntelliJ IDEA === === IntelliJ IDEA ===
Line 76: Line 79:
 Sometimes, when importing the Gradle project into an IDE, the assets might not download correctly. In this case, run the ''downloadAssets'' task manually - either using IDE's built-in menu or by simply running ''gradlew downloadAssets''. Sometimes, when importing the Gradle project into an IDE, the assets might not download correctly. In this case, run the ''downloadAssets'' task manually - either using IDE's built-in menu or by simply running ''gradlew downloadAssets''.
  
 +==== java.lang.ClassNotFoundException: net.fabricmc.loader.impl.launch.knot.KnotClient ====
 +This may be because the project path contains non-ASCII characters that may cause incompatibility. Try move the project to paths without non-ASCII characters, or in the run config of "Minecraft Client" and "Minecraft Server", set "Shorten Command Line" from "@argfile (Java 9+)" to "none".
 ===== What's Next?  ===== ===== What's Next?  =====
 Create your first [[tutorial:items|item]]. Create your first [[tutorial:items|item]].
tutorial/setup.txt · Last modified: 2024/04/15 00:35 by solidblock