Fixed mod not loading

This commit is contained in:
Christian Knaapen
2025-03-15 19:56:01 +01:00
parent c9782a8b69
commit 04f0f4f314
2 changed files with 20 additions and 13 deletions

View File

@@ -2,7 +2,7 @@ plugins {
id "idea"
id "eclipse"
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 "net.darkhax.curseforgegradle" version "1.1.26"
}
@@ -45,8 +45,6 @@ legacyForge {
systemProperty 'mixin.debug.export', 'true'
systemProperty 'mixin.debug.verbose', 'true'
programArgument '-mixin.config=ponder.mixins.json'
}
client {
@@ -77,8 +75,17 @@ legacyForge {
// setForceExit false <- FIXME 1.20
}
}
mods {
effortlessbuilding {
sourceSet sourceSets.main
}
}
}
// Include resources generated by data generators.
sourceSets.main.resources { srcDir 'src/generated/resources' }
repositories {
maven { url = "https://maven.createmod.net" } // Ponder, Flywheel
maven { url = "https://maven.tterrag.com" } // Registrate
@@ -148,12 +155,12 @@ compileJava {
jar {
manifest {
attributes([
"Specification-Title": "effortlessbuilding",
"Specification-Vendor": "requios",
"Specification-Version": "1",
"Implementation-Title": project.name,
"Implementation-Version": project.jar.archiveVersion,
"Implementation-Vendor" :"requios",
"Specification-Title" : mod_id,
"Specification-Vendor" : mod_author,
"Specification-Version" : "1",
"Implementation-Title" : project.name,
"Implementation-Version" : project.jar.archiveVersion,
"Implementation-Vendor" : mod_author,
"Implementation-Timestamp": new Date().format("yyyy-MM-dd'T'HH:mm:ssZ")
])
}

View File

@@ -8,13 +8,13 @@ showAsResourcePack=false
modId="effortlessbuilding"
# The Implementation-Version property in the jar's MANIFEST.MF file will be used as the mod version at runtime
version="${file.jarVersion}"
displayName="${mod_name}"
displayName="Effortless Building"
displayURL="https://minecraft.curseforge.com/projects/effortless-building"
logoFile="logo.png"
#credits=""
authors="${mod_author}"
authors="Requios"
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]]