Fixed mod not loading
This commit is contained in:
25
build.gradle
25
build.gradle
@@ -2,7 +2,7 @@ plugins {
|
|||||||
id "idea"
|
id "idea"
|
||||||
id "eclipse"
|
id "eclipse"
|
||||||
id "maven-publish"
|
id "maven-publish"
|
||||||
id "net.neoforged.moddev.legacyforge" version "2.0.74"
|
id 'net.neoforged.moddev.legacyforge' version '2.0.78'
|
||||||
id "org.jetbrains.gradle.plugin.idea-ext" version "1.1.8" // https://github.com/JetBrains/gradle-idea-ext-plugin
|
id "org.jetbrains.gradle.plugin.idea-ext" version "1.1.8" // https://github.com/JetBrains/gradle-idea-ext-plugin
|
||||||
id "net.darkhax.curseforgegradle" version "1.1.26"
|
id "net.darkhax.curseforgegradle" version "1.1.26"
|
||||||
}
|
}
|
||||||
@@ -45,8 +45,6 @@ legacyForge {
|
|||||||
|
|
||||||
systemProperty 'mixin.debug.export', 'true'
|
systemProperty 'mixin.debug.export', 'true'
|
||||||
systemProperty 'mixin.debug.verbose', 'true'
|
systemProperty 'mixin.debug.verbose', 'true'
|
||||||
|
|
||||||
programArgument '-mixin.config=ponder.mixins.json'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
client {
|
client {
|
||||||
@@ -77,8 +75,17 @@ legacyForge {
|
|||||||
// setForceExit false <- FIXME 1.20
|
// setForceExit false <- FIXME 1.20
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
mods {
|
||||||
|
effortlessbuilding {
|
||||||
|
sourceSet sourceSets.main
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Include resources generated by data generators.
|
||||||
|
sourceSets.main.resources { srcDir 'src/generated/resources' }
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
maven { url = "https://maven.createmod.net" } // Ponder, Flywheel
|
maven { url = "https://maven.createmod.net" } // Ponder, Flywheel
|
||||||
maven { url = "https://maven.tterrag.com" } // Registrate
|
maven { url = "https://maven.tterrag.com" } // Registrate
|
||||||
@@ -148,12 +155,12 @@ compileJava {
|
|||||||
jar {
|
jar {
|
||||||
manifest {
|
manifest {
|
||||||
attributes([
|
attributes([
|
||||||
"Specification-Title": "effortlessbuilding",
|
"Specification-Title" : mod_id,
|
||||||
"Specification-Vendor": "requios",
|
"Specification-Vendor" : mod_author,
|
||||||
"Specification-Version": "1",
|
"Specification-Version" : "1",
|
||||||
"Implementation-Title": project.name,
|
"Implementation-Title" : project.name,
|
||||||
"Implementation-Version": project.jar.archiveVersion,
|
"Implementation-Version" : project.jar.archiveVersion,
|
||||||
"Implementation-Vendor" :"requios",
|
"Implementation-Vendor" : mod_author,
|
||||||
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
|
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
|
||||||
])
|
])
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,13 +8,13 @@ showAsResourcePack=false
|
|||||||
modId="effortlessbuilding"
|
modId="effortlessbuilding"
|
||||||
# The Implementation-Version property in the jar's MANIFEST.MF file will be used as the mod version at runtime
|
# The Implementation-Version property in the jar's MANIFEST.MF file will be used as the mod version at runtime
|
||||||
version="${file.jarVersion}"
|
version="${file.jarVersion}"
|
||||||
displayName="${mod_name}"
|
displayName="Effortless Building"
|
||||||
displayURL="https://minecraft.curseforge.com/projects/effortless-building"
|
displayURL="https://minecraft.curseforge.com/projects/effortless-building"
|
||||||
logoFile="logo.png"
|
logoFile="logo.png"
|
||||||
#credits=""
|
#credits=""
|
||||||
authors="${mod_author}"
|
authors="Requios"
|
||||||
description='''
|
description='''
|
||||||
${mod_description}
|
Makes building easier by providing tools like mirrors, arrays, build modes and a block randomizer. For survival and creative mode.
|
||||||
'''
|
'''
|
||||||
|
|
||||||
[[dependencies.effortlessbuilding]]
|
[[dependencies.effortlessbuilding]]
|
||||||
|
|||||||
Reference in New Issue
Block a user