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/21 11:38] – Rearranging and add generator mkpoli | tutorial:setup [2020/04/06 19:32] – add possibility for project output to be set already 2xsaiko | ||
---|---|---|---|
Line 7: | Line 7: | ||
===== Mod Startup ===== | ===== Mod Startup ===== | ||
+ | There are two main ways to make a new mod for Minecraft based on Fabric. You can either manually download fabric-example-mod and setup by yourself, or use automatic tools for you. | ||
+ | |||
==== Manual Steps ==== | ==== Manual Steps ==== | ||
- Copy the starting files from [[https:// | - Copy the starting files from [[https:// | ||
Line 21: | Line 23: | ||
=== 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, go to menu '' | + | - 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 | ||
+ | |||
+ | //Optional, but recommended//: | ||
+ | By default, IntelliJ delegates | ||
+ | - Open the 'Gradle Settings' | ||
+ | - Change the 'Build and run using' and ' | ||
+ | - Go to File -> Project Structure -> Project and set 'Project compiler output' | ||
+ | |||
+ | Unfortunately, it is currently impossible to set an IDE-wide default | ||
=== Eclipse === | === Eclipse === | ||
Line 31: | Line 42: | ||
==== Generator ==== | ==== Generator ==== | ||
- | You many also use [[https:// | + | You may also use [[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 37: | Line 48: | ||
- 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. | ||
+ | ==== MinecraftDev IntelliJ IDEA Plugin ==== | ||
+ | If you are using IntelliJ IDEA you can use Earthcomputer' | ||
+ | You can follow [[https:// | ||
===== Getting started ===== | ===== Getting started ===== | ||
Line 43: | Line 57: | ||
===== 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! | ||
- | * As Fabric is in early development, | + | * Occasionally, with development of fabric-loom (our Gradle build plugin) issues may crop up which require |
* 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/04/15 00:35 by solidblock