2021-03-09 22:37:23 +01:00
|
|
|
|
2023-07-15 23:03:54 +02:00
|
|
|
Installation information
|
|
|
|
=======
|
2015-08-02 06:03:47 +02:00
|
|
|
|
2023-07-15 23:03:54 +02:00
|
|
|
This template repository can be directly cloned to get you started with a new
|
|
|
|
mod. Simply create a new repository cloned from this one, by following the
|
|
|
|
instructions at [github](https://docs.github.com/en/repositories/creating-and-managing-repositories/creating-a-repository-from-a-template).
|
|
|
|
|
|
|
|
Once you have your clone, you can initialize your copy.
|
2015-08-02 06:03:47 +02:00
|
|
|
|
2021-03-09 22:37:23 +01:00
|
|
|
Setup Process:
|
2023-07-15 23:03:54 +02:00
|
|
|
--------
|
2015-08-02 06:03:47 +02:00
|
|
|
|
|
|
|
Step 1: Open your command-line and browse to the folder where you extracted the zip file.
|
|
|
|
|
2019-02-26 03:11:41 +01:00
|
|
|
Step 2: You're left with a choice.
|
|
|
|
If you prefer to use Eclipse:
|
2021-03-09 22:37:23 +01:00
|
|
|
1. Run the following command: `gradlew genEclipseRuns` (`./gradlew genEclipseRuns` if you are on Mac/Linux)
|
2019-02-26 03:11:41 +01:00
|
|
|
2. Open Eclipse, Import > Existing Gradle Project > Select Folder
|
2021-03-09 22:37:23 +01:00
|
|
|
or run `gradlew eclipse` to generate the project.
|
2019-02-26 03:11:41 +01:00
|
|
|
|
|
|
|
If you prefer to use IntelliJ:
|
2015-08-02 06:03:47 +02:00
|
|
|
1. Open IDEA, and import project.
|
|
|
|
2. Select your build.gradle file and have it import.
|
2021-03-09 22:37:23 +01:00
|
|
|
3. Run the following command: `gradlew genIntellijRuns` (`./gradlew genIntellijRuns` if you are on Mac/Linux)
|
2019-02-26 03:11:41 +01:00
|
|
|
4. Refresh the Gradle Project in IDEA if required.
|
2015-08-02 06:03:47 +02:00
|
|
|
|
2021-03-09 22:37:23 +01:00
|
|
|
If at any point you are missing libraries in your IDE, or you've run into problems you can
|
|
|
|
run `gradlew --refresh-dependencies` to refresh the local cache. `gradlew clean` to reset everything
|
|
|
|
{this does not affect your code} and then start the process again.
|
2015-08-02 06:03:47 +02:00
|
|
|
|
2021-03-09 22:37:23 +01:00
|
|
|
Mapping Names:
|
2023-07-15 23:03:54 +02:00
|
|
|
============
|
2021-03-09 22:37:23 +01:00
|
|
|
By default, the MDK is configured to use the official mapping names from Mojang for methods and fields
|
|
|
|
in the Minecraft codebase. These names are covered by a specific license. All modders should be aware of this
|
|
|
|
license, if you do not agree with it you can change your mapping names to other crowdsourced names in your
|
|
|
|
build.gradle. For the latest license text, refer to the mapping file itself, or the reference copy here:
|
2023-07-15 23:03:54 +02:00
|
|
|
https://github.com/NeoForged/NeoForm/blob/main/Mojang.md
|
2015-08-02 06:03:47 +02:00
|
|
|
|
2021-03-09 22:37:23 +01:00
|
|
|
Additional Resources:
|
2023-07-15 23:03:54 +02:00
|
|
|
==========
|
|
|
|
Community Documentation: https://docs.neoforged.net/
|
|
|
|
NeoForged Discord: https://discord.neoforged.net/
|