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 revision Previous revision
tutorial:setup [2019/08/03 22:24]
fudge added “getting started” segment
tutorial:setup [2019/10/12 23:21] (current)
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: 2019/10/12 23:21 by fudge