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/05/23 12:54] – [Steps] falseresynctutorial:setup [2019/07/27 09:07] – added link to Kotlin example mod fudge
Line 3: Line 3:
 ===== Prerequisites ===== ===== Prerequisites =====
  
-   * JDK 8+ +   A Java Development Kit (JDK) for Java or newer [[https://adoptopenjdk.net/]] 
-   * Any IDE, for example IntelliJ IDEA+   * Any IDE, for example [[https://www.jetbrains.com/idea/download/#section=windows|Intellij IDEA]]
  
 ===== Steps ===== ===== Steps =====
  
-   - Copy the starting files from [[https://github.com/FabricMC/fabric-example-mod/|fabric-example-mod]], excluding the ''LICENSE'' and ''README.md'' files - as those apply to the template itself, not necessarily to your mod.+   - Copy the starting files from [[https://github.com/FabricMC/fabric-example-mod/|fabric-example-mod]] (or from [[https://github.com/natanfudge/fabric-example-mod-kotlin|the Kotlin version]], if you wish to use Kotlin,excluding the ''LICENSE'' and ''README.md'' files - as those apply to the template itself, not necessarily to your mod.
    - Edit ''gradle.properties'':    - Edit ''gradle.properties'':
        * Make sure to set ''archives_base_name'' and ''maven_group'' to your preferred values.        * Make sure to set ''archives_base_name'' and ''maven_group'' to your preferred values.
Line 15: Line 15:
    - 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''.    - 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 an 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''
tutorial/setup.txt · Last modified: 2024/04/15 00:35 by solidblock