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
Next revision
Previous revision
tutorial:setup [2020/08/09 12:51]
telepathicgrunt [Generator] added info to say to use generator if unable to use alternatives
tutorial:setup [2020/09/18 08:48] (current)
siglong Update Fabric API advice
Line 35: Line 35:
  
 Unfortunately,​ it is currently impossible to set an IDE-wide default for the 'Build and run using' and 'Run tests using' options, so these steps have to be repeated for every new project. Unfortunately,​ it is currently impossible to set an IDE-wide default for the 'Build and run using' and 'Run tests using' options, so these steps have to be repeated for every new project.
 +
 +**NOTE:** Don't run ''​./​gradlew idea''​ as it messes up with gradle and breaks develop environment.
  
 === Eclipse === === Eclipse ===
Line 43: Line 45:
  
 ==== MinecraftDev IntelliJ IDEA Plugin ==== ==== 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,​ generating accessors/​shadow fields, and the Copy Mixin Target ​Reference context menu option.+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,​ generating accessors/​shadow fields, and copying ​Mixin Target ​References (JVM Descriptors).
 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 to File → Settings → Plugins, then clicking the Marketplace tab and searching for Minecraft. 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 to File → Settings → Plugins, then clicking the Marketplace tab and searching for Minecraft.
  
Line 56: Line 58:
  
 ===== Advice ===== ===== Advice =====
-  * While Fabric API is not strictly necessary for developing mods, its primary goal is to provide cross-compatibility and hooks where the game engine does not, and as such it is highly recommended!+  * While Fabric API is not strictly necessary for developing mods, its primary goal is to provide cross-compatibility and hooks where the game engine does not, and as such it is highly recommended! ​Even some of the tutorials on the wiki implicitly require Fabric API.
   * Occasionally,​ with development of fabric-loom (our Gradle build plugin) issues may crop up which require resetting the cache files. This can be done by running ''​gradlew cleanloom''​. Running ''​gradlew %%--%%stop''​ can also help with a few rare issues.   * Occasionally,​ with development of fabric-loom (our Gradle build plugin) issues may crop up which require resetting the cache files. This can be done by running ''​gradlew cleanloom''​. Running ''​gradlew %%--%%stop''​ can also help with a few rare issues.
   * Don't hesitate to ask questions! We're here to help you and work with you to make your dream mod a reality.   * Don't hesitate to ask questions! We're here to help you and work with you to make your dream mod a reality.
tutorial/setup.1596977488.txt.gz · Last modified: 2020/08/09 12:51 by telepathicgrunt