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/10/01 15:40] – [Missing sounds] solidblocktutorial:setup [2023/04/20 20:11] poopooracoocoo
Line 56: Line 56:
  
 To generate the Minecraft source. run the ''genSources'' gradle task. To generate the Minecraft source. run the ''genSources'' gradle task.
-If your IDE doesn't have gradle integration, run the following command in the terminal: ''gradlew genSources'' (or ''./gradlew genSources'' on Linux/MacOS).+If your IDE doesn't have gradle integration, run the following command in the terminal: ''gradlew genSources'' (or ''./gradlew genSources'' on Linux/macOS).
 It can take a while depending on your computer power. It can take a while depending on your computer power.
 You may need to refresh gradle after running the task. You may need to refresh gradle after running the task.
Line 79: 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 ====+==== java.lang.ClassNotFoundException: net.fabricmc.loader.impl.launch.knot.KnotClient / java.lang.TypeNotPresentException: Type net/minecraft/util/Identifier not present ====
 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". 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