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/04/06 19:32] – add possibility for project output to be set already 2xsaiko | tutorial:setup [2020/08/09 12:49] – [Generator] swapped with MCDev telepathicgrunt | ||
---|---|---|---|
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 === | ||
Line 26: | Line 26: | ||
- Select the project' | - Select the project' | ||
- After Gradle is done setting up, close (File -> Close Project) and re-open the project to fix run configurations not displaying correctly. | - After Gradle is done setting up, close (File -> Close Project) and re-open the project to fix run configurations not displaying correctly. | ||
+ | - (If the run configurations still don't show up, try reimporting the Gradle project from the Gradle tab in IDEA.) | ||
//Optional, but recommended//: | //Optional, but recommended//: | ||
Line 31: | Line 32: | ||
- Open the ' | - Open the ' | ||
- Change the 'Build and run using' and 'Run tests using' fields to ' | - Change the 'Build and run using' and 'Run tests using' fields to ' | ||
- | - Go to File -> Project Structure -> Project and set ' | + | - Go to File -> Project Structure -> Project and set ' |
Unfortunately, | Unfortunately, | ||
Line 41: | Line 42: | ||
If you are using VSCode by Microsoft, please follow [[tutorial: | If you are using VSCode by Microsoft, please follow [[tutorial: | ||
- | ==== Generator | + | ==== MinecraftDev IntelliJ IDEA Plugin |
- | You may also use [[https:// | + | 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, |
- | - Download latest release of GeneratorFabricMod | + | The plugin can be found [[https://plugins.jetbrains.com/plugin/8327|in the IntelliJ plugin repository]], so you can install it using IntelliJ's internal plugin browser by navigating |
- | - Make a new directory, then run a command shell there and type ''path/to/ | + | |
- | - After letting it get its dependencies, follow | + | |
- | - You're now done, just open the project folder with in your IDE. | + | |
==== MinecraftDev IntelliJ IDEA Plugin ==== | ==== MinecraftDev IntelliJ IDEA Plugin ==== | ||
- | If you are using IntelliJ IDEA you can use Earthcomputer' | + | If you are using IntelliJ IDEA you can use the MinecraftDev plugin. This plugin |
- | You can follow | + | The plugin |
===== Getting started ===== | ===== Getting started ===== |
tutorial/setup.txt · Last modified: 2024/08/12 04:20 by jeffreyg1228