95076b799e
This allows using the properties in resources in the test sourceset automatically and any other custom sourcesets a modder might declare |
||
---|---|---|
gradle/wrapper | ||
src/main | ||
.gitattributes | ||
.gitignore | ||
build.gradle | ||
gradle.properties | ||
gradlew | ||
gradlew.bat | ||
README.md | ||
settings.gradle | ||
TEMPLATE_LICENSE.txt |
Installation information
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.
Once you have your clone, you can initialize your copy.
Setup Process:
Step 1: Open your command-line and browse to the folder where you extracted cloned your copy of this repository to.
Step 2: You're left with a choice. If you prefer to use Eclipse:
- Run the following command:
gradlew genEclipseRuns
(./gradlew genEclipseRuns
if you are on Mac/Linux) - Open Eclipse, Import > Existing Gradle Project > Select Folder
or run
gradlew eclipse
to generate the project.
If you prefer to use IntelliJ:
- Open IDEA, and import project.
- Select your build.gradle file and have it import.
- Run the following command:
gradlew genIntellijRuns
(./gradlew genIntellijRuns
if you are on Mac/Linux) - Refresh the Gradle Project in IDEA if required.
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.
Mapping Names:
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: https://github.com/NeoForged/NeoForm/blob/main/Mojang.md
Additional Resources:
Community Documentation: https://docs.neoforged.net/
NeoForged Discord: https://discord.neoforged.net/