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/08/09 12:49] – [MinecraftDev IntelliJ IDEA Plugin] Swapped with generator telepathicgrunt | tutorial:setup [2021/08/05 06:01] – Add Generating Sources heading, because people keep missing it daomephsta | ||
---|---|---|---|
Line 3: | Line 3: | ||
===== Prerequisites ===== | ===== Prerequisites ===== | ||
- | * A Java Development Kit (JDK) for Java 8 (recommended) or newer [[https:// | + | * A Java Development Kit (JDK) for Java 16 (recommended) or newer. Visit [[https:// |
+ | * If you are professional, | ||
* Any Java IDE, for example [[https:// | * Any Java IDE, for example [[https:// | ||
Line 10: | Line 11: | ||
==== Manual Steps ==== | ==== Manual Steps ==== | ||
- | - Copy the starting files from [[https:// | + | - Copy the starting files from [[https:// |
- Edit '' | - Edit '' | ||
* Make sure to set '' | * Make sure to set '' | ||
Line 18: | Line 19: | ||
- Happy modding! | - Happy modding! | ||
+ | === Generating Sources === | ||
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 '' | ||
Line 35: | Line 37: | ||
Unfortunately, | Unfortunately, | ||
+ | |||
+ | **NOTE:** Don't run '' | ||
=== Eclipse === | === Eclipse === | ||
- | If you are using Eclipse and you would like to have the IDE run configs you can run '' | + | If you are using Eclipse and you would like to have the IDE run configs you can run '' |
=== Visual Studio Code === | === Visual Studio Code === | ||
Line 43: | Line 47: | ||
==== 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, | + | 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:// | 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 '' | ||
Line 56: | Line 60: | ||
===== 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! |
* Occasionally, | * Occasionally, | ||
* 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.txt · Last modified: 2024/06/30 00:02 by 2600:387:c:6c19::9