Compare commits
1 Commits
Author | SHA1 | Date | |
---|---|---|---|
4f234fc059 |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -43,4 +43,5 @@ bin/
|
||||
|
||||
.idea
|
||||
|
||||
run/
|
||||
run/
|
||||
artifacts
|
@@ -4,14 +4,14 @@ license="MIT"
|
||||
issueTrackerURL="https://github.com/minecraftforge/"
|
||||
|
||||
[[mods]]
|
||||
modId="examplemod"
|
||||
modId="${mod_id}"
|
||||
version="${version}"
|
||||
displayName="Example Mod"
|
||||
displayName="${mod_name}"
|
||||
#updateJSONURL="https://change.me.example.invalid/updates.json"
|
||||
displayURL="https://minecraftforge.net"
|
||||
logoFile="assets/examplemod/icon.png"
|
||||
credits="Thanks for this example mod goes to Java"
|
||||
authors="ExampleAuthor"
|
||||
authors="${mod_author}"
|
||||
description='''
|
||||
This is a long form description of the mod. You can write whatever you want here
|
||||
|
||||
@@ -20,14 +20,14 @@ Have some lorem ipsum.
|
||||
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed mollis lacinia magna. Orci varius natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed sagittis luctus odio eu tempus. Interdum et malesuada fames ac ante ipsum primis in faucibus. Pellentesque volutpat ligula eget lacus auctor sagittis. In hac habitasse platea dictumst. Nunc gravida elit vitae sem vehicula efficitur. Donec mattis ipsum et arcu lobortis, eleifend sagittis sem rutrum. Cras pharetra quam eget posuere fermentum. Sed id tincidunt justo. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
|
||||
'''
|
||||
|
||||
[[dependencies.examplemod]]
|
||||
[[dependencies.${mod_id}]]
|
||||
modId="forge"
|
||||
mandatory=true
|
||||
versionRange="[48,)"
|
||||
ordering="NONE"
|
||||
side="BOTH"
|
||||
|
||||
[[dependencies.examplemod]]
|
||||
[[dependencies.${mod_id}]]
|
||||
modId="minecraft"
|
||||
mandatory=true
|
||||
versionRange="[1.20.2,)"
|
||||
|
@@ -35,13 +35,9 @@ This project is powered by [Unimined](https://github.com/unimined/unimined), and
|
||||
1) `loaderVersion` -> The forge version code
|
||||
2) `license` -> Your mod license
|
||||
3) `issueTrackerURL` -> Your GitHub repository of the mod
|
||||
4) `modId` -> Your modid. Make sure to match this with `mod_id` from `gradle.properties`
|
||||
5) `displayName` -> The name of your mod
|
||||
6) `displayURL` -> Your Modrinth/Curseforge/GitHub page of the mod
|
||||
7) `logoFile` -> Your mod icon
|
||||
8) `authors` -> Your name
|
||||
9) `description` -> Your mod description
|
||||
10) `dependencies.examplemod` -> `dependencies.yourmodid`
|
||||
11) `versionRange` -> `[forgeVersionCode,)` and `[1.20.2,)` (Replace with the minecraft versions your mod supports)
|
||||
|
||||
6) If your default JVM/JDK is not Java 17 you will encounter an error when opening the project. This error is fixed by going to File > Settings > Build, Execution, Deployment > Build Tools > Gradle > Gradle JVMand changing the value to a valid Java 17 JVM. You will also need to set the Project SDK to Java 17. This can be done by going to File > Project Structure > Project SDK. Once both have been set open the Gradle tab in IDEA and click the refresh button to reload the project.
|
||||
|
Reference in New Issue
Block a user