tutorial:setup
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
tutorial:setup [2019/07/27 09:07] – added link to Kotlin example mod fudge | tutorial:setup [2020/02/21 11:14] – [IntelliJ IDEA] Add a step mkpoli | ||
---|---|---|---|
Line 6: | Line 6: | ||
* Any IDE, for example [[https:// | * Any IDE, for example [[https:// | ||
- | ===== Steps ===== | + | ===== General |
- Copy the starting files from [[https:// | - Copy the starting files from [[https:// | ||
- Edit '' | - Edit '' | ||
Line 13: | Line 12: | ||
* Make sure to update the versions of Minecraft, the mappings and the loader - all of which can be queried through [[https:// | * Make sure to update the versions of Minecraft, the mappings and the loader - all of which can be queried through [[https:// | ||
* Add any other dependencies you plan to use in '' | * Add any other dependencies you plan to use in '' | ||
- | - Import the project to your IDE. Follow [[tutorial: | + | - Import the build.gradle file to your IDE. You may refer to next section for specific |
- | - Run the '' | + | |
- | - If you would like to have the IDE run configs you can run following commands: | + | |
- | * For IntelliJ IDEA: '' | + | |
- | * For Eclipse: '' | + | |
- | * 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 '' | ||
+ | |||
+ | ==== IntelliJ IDEA ==== | ||
+ | If you are using IntelliJ IDEA by JetBrains, please follow these steps: | ||
+ | - Run '' | ||
+ | - In order to run/debug your project, go to menu '' | ||
+ | - Happy Modding! | ||
+ | |||
+ | ==== Eclipse ==== | ||
+ | If you are using Eclipse and you would like to have the IDE run configs you can run '' | ||
+ | |||
+ | ==== Visual Studio Code ==== | ||
+ | If you are using VSCode by Microsoft, please follow [[tutorial: | ||
+ | |||
+ | ===== Getting started ===== | ||
+ | Try [[tutorial: | ||
===== Advice ===== | ===== Advice ===== | ||
Line 32: | Line 43: | ||
Sometimes, when importing the Gradle project into an IDE, the assets might not download correctly. In this case, run the '' | Sometimes, when importing the Gradle project into an IDE, the assets might not download correctly. In this case, run the '' | ||
+ |
tutorial/setup.txt · Last modified: 2024/08/12 04:20 by jeffreyg1228