Remove hardcoded modid from Forge run generation.

This commit is contained in:
Tyler Hancock 2021-09-24 02:16:48 -06:00
parent 6e8a284425
commit b7f45281db
No known key found for this signature in database
GPG Key ID: D10D32949D03E695

View File

@ -27,7 +27,7 @@ minecraft {
workingDirectory project.file('run')
ideaModule "${rootProject.name}.${project.name}.main"
mods {
examplemod {
modClientRun {
source sourceSets.main
source project(":Common").sourceSets.main
}
@ -38,7 +38,7 @@ minecraft {
workingDirectory project.file('run')
ideaModule "${rootProject.name}.${project.name}.main"
mods {
examplemod {
modServerRun {
source sourceSets.main
source project(":Common").sourceSets.main
}
@ -50,7 +50,7 @@ minecraft {
ideaModule "${rootProject.name}.${project.name}.main"
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
mods {
examplemod {
modDataRun {
source sourceSets.main
source project(":Common").sourceSets.main
}