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 [2019/08/03 22:24] – added “getting started” segment fudgetutorial:setup [2019/10/22 16:53] fudge
Line 14: Line 14:
        * Add any other dependencies you plan to use in ''build.gradle''.        * Add any other dependencies you plan to use in ''build.gradle''.
    - Import the project to your IDE. Follow [[tutorial:vscode_setup|these instructions]] to import the project to Visual Studio Code.    - Import the project to your IDE. Follow [[tutorial:vscode_setup|these instructions]] to import the project to Visual Studio Code.
-   - Run the ''genSources'' Gradle task. If your IDE doesn't have Gradle integration, then run the following command in the terminal: ''./gradlew genSources''. 
    - If you would like to have the IDE run configs you can run following commands:    - If you would like to have the IDE run configs you can run following commands:
-       * For IntelliJ IDEA: ''./gradlew idea''.  +       * For IntelliJ IDEA: ''gradlew idea''.  
-       * For Eclipse: ''./gradlew eclipse''+       * For Eclipse: ''gradlew eclipse''
        * If you use VS Code, configurations were generated at the step 3.        * If you use VS Code, configurations were generated at the step 3.
    - Happy modding!    - Happy modding!
 +
 +You can generate the Minecraft sources for reference (since IDEA already has a decompiler this is only useful for searching through the code) :
 + Run the ''genSources'' Gradle task. If your IDE doesn't have Gradle integration, then run the following command in the terminal: ''gradlew genSources'' (or ''.gradlew genSources'' on Linux/MacOS).
 +
  
 ===== Getting started ===== ===== Getting started =====
tutorial/setup.txt · Last modified: 2024/04/15 00:35 by solidblock