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 [2020/02/22 15:34] – [Advice] Fix double dash jamieswhiteshirt | tutorial:setup [2020/09/05 13:36] – Add a note on ./gradlew idea siglong | ||
---|---|---|---|
Line 19: | Line 19: | ||
You can generate the Minecraft sources for reference (since IDEA already has a decompiler this is only useful for searching through the code) : | 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 '' | + | Run the '' |
=== IntelliJ IDEA === | === IntelliJ IDEA === | ||
If you are using IntelliJ IDEA by JetBrains, please follow these steps: | If you are using IntelliJ IDEA by JetBrains, please follow these steps: | ||
- | - Run '' | + | - In the IDEA main menu, select |
- | - In order to run/debug your project, | + | - Select the project's build.gradle file to import the project. |
+ | - After Gradle is done setting up, close (File -> Close Project) and re-open the project | ||
+ | - (If the run configurations still don't show up, try reimporting the Gradle | ||
+ | |||
+ | //Optional, but recommended//: | ||
+ | By default, IntelliJ delegates | ||
+ | - Open the 'Gradle Settings' | ||
+ | - Change the 'Build and run using' and ' | ||
+ | - Go to File -> Project Structure -> Project | ||
+ | |||
+ | Unfortunately, | ||
+ | |||
+ | **NOTE:** Don't run '' | ||
=== Eclipse === | === Eclipse === | ||
Line 31: | Line 43: | ||
=== Visual Studio Code === | === Visual Studio Code === | ||
If you are using VSCode by Microsoft, please follow [[tutorial: | If you are using VSCode by Microsoft, please follow [[tutorial: | ||
+ | |||
+ | ==== MinecraftDev IntelliJ IDEA Plugin ==== | ||
+ | If you are using IntelliJ IDEA you can use the MinecraftDev plugin. This plugin adds support for automatically generating Fabric projects as well as some mixin related features like inspections, | ||
+ | The plugin can be found [[https:// | ||
==== Generator ==== | ==== Generator ==== | ||
- | You may also use [[https:// | + | If you are unable to use the MinecraftDev plugin or the [[https:// |
- Download latest release of GeneratorFabricMod [[https:// | - Download latest release of GeneratorFabricMod [[https:// | ||
- Make a new directory, then run a command shell there and type '' | - Make a new directory, then run a command shell there and type '' | ||
- After letting it get its dependencies, | - After letting it get its dependencies, | ||
- You're now done, just open the project folder with in your IDE. | - You're now done, just open the project folder with in your IDE. | ||
- | |||
- | |||
===== Getting started ===== | ===== Getting started ===== | ||
Try [[tutorial: | Try [[tutorial: |
tutorial/setup.txt · Last modified: 2024/04/15 00:35 by solidblock