Fxed forge version

This commit is contained in:
coolGi2007
2022-01-27 11:14:07 +10:30
parent 9a1abdefa1
commit 4ff37cfdad
4 changed files with 14 additions and 7 deletions
+3 -3
View File
@@ -43,7 +43,7 @@ dependencies {
// modImplementation "curse.maven:starlight-521783:${project.starlight_version_fabric}"
// Sodium
modImplementation "maven.modrinth:sodium:${project.sodium_version}"
modImplementation "maven.modrinth:sodium:${rootProject.sodium_version}"
implementation "org.joml:joml:1.10.2"
// Lithium
@@ -113,10 +113,10 @@ runClient {
processResources {
dependsOn(copyAccessWidener)
inputs.property "version", project.version
inputs.property "version", rootProject.mod_version
filesMatching("fabric.mod.json") {
expand "version": project.version
expand "version": rootProject.mod_version
}
}
+3 -3
View File
@@ -6,9 +6,9 @@
"name": "Distant Horizons Fabric",
"description": "This mod generates and renders simplified terrain beyond the normal view distance at a low performance cost. Allowing you to see much farther without turning your game into a slideshow.",
"authors": [
"James Seibel",
"Leonardo Amato",
"Cola",
"James Seibel",
"Leonardo Amato",
"Cola",
"coolGi2007",
"Ran"
],
+7
View File
@@ -60,6 +60,13 @@ task copyCommonResources(type: Copy) {
processResources {
dependsOn(copyCoreResources)
dependsOn(copyCommonResources)
// Put all the stuff about the mod
inputs.property "version", rootProject.mod_version
filesMatching("META-INF/mods.toml") {
expand "version": rootProject.mod_version
}
}
shadowJar {
+1 -1
View File
@@ -7,7 +7,7 @@ issueTrackerURL="https://gitlab.com/jeseibel/minecraft-lod-mod/-/issues"
[[mods]] #//mandatory
modId="lod" #//mandatory
version= "${file.jarVersion}" #//mandatory, gets the version number from jar populated by the build.gradle script
version= "${version}" #//mandatory, gets the version number from jar populated by the build.gradle script
displayName="Distant Horizons" #//mandatory
#//updateJSONURL="https://change.me.example.invalid/updates.json" # A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/
displayURL="https://www.curseforge.com/minecraft/mc-mods/lod-level-of-detail"