commit
64a3d8cb04
|
|
@ -20,14 +20,20 @@ java.toolchain.languageVersion = JavaLanguageVersion.of(16)
|
||||||
|
|
||||||
minecraft {
|
minecraft {
|
||||||
mappings channel: 'official', version: minecraft_version
|
mappings channel: 'official', version: minecraft_version
|
||||||
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg') // Currently, this location cannot be changed from the default.
|
|
||||||
|
if (project.hasProperty('forge_ats_enabled') && project.findProperty('forge_ats_enabled').toBoolean()) {
|
||||||
|
// This location is hardcoded in Forge and can not be changed.
|
||||||
|
// https://github.com/MinecraftForge/MinecraftForge/blob/be1698bb1554f9c8fa2f58e32b9ab70bc4385e60/fmlloader/src/main/java/net/minecraftforge/fml/loading/moddiscovery/ModFile.java#L123
|
||||||
|
accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||||
|
project.logger.debug('Forge Access Transformers are enabled for this project.')
|
||||||
|
}
|
||||||
|
|
||||||
runs {
|
runs {
|
||||||
client {
|
client {
|
||||||
workingDirectory project.file('run')
|
workingDirectory project.file('run')
|
||||||
ideaModule "${rootProject.name}.${project.name}.main"
|
ideaModule "${rootProject.name}.${project.name}.main"
|
||||||
mods {
|
mods {
|
||||||
examplemod {
|
modClientRun {
|
||||||
source sourceSets.main
|
source sourceSets.main
|
||||||
source project(":Common").sourceSets.main
|
source project(":Common").sourceSets.main
|
||||||
}
|
}
|
||||||
|
|
@ -38,7 +44,7 @@ minecraft {
|
||||||
workingDirectory project.file('run')
|
workingDirectory project.file('run')
|
||||||
ideaModule "${rootProject.name}.${project.name}.main"
|
ideaModule "${rootProject.name}.${project.name}.main"
|
||||||
mods {
|
mods {
|
||||||
examplemod {
|
modServerRun {
|
||||||
source sourceSets.main
|
source sourceSets.main
|
||||||
source project(":Common").sourceSets.main
|
source project(":Common").sourceSets.main
|
||||||
}
|
}
|
||||||
|
|
@ -50,7 +56,7 @@ minecraft {
|
||||||
ideaModule "${rootProject.name}.${project.name}.main"
|
ideaModule "${rootProject.name}.${project.name}.main"
|
||||||
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
|
args '--mod', mod_id, '--all', '--output', file('src/generated/resources/'), '--existing', file('src/main/resources/')
|
||||||
mods {
|
mods {
|
||||||
examplemod {
|
modDataRun {
|
||||||
source sourceSets.main
|
source sourceSets.main
|
||||||
source project(":Common").sourceSets.main
|
source project(":Common").sourceSets.main
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -2,11 +2,12 @@
|
||||||
minecraft_version=1.17.1
|
minecraft_version=1.17.1
|
||||||
|
|
||||||
# Forge
|
# Forge
|
||||||
forge_version=37.0.13
|
forge_version=37.0.70
|
||||||
|
//forge_ats_enabled=true
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
fabric_version=0.37.0+1.17
|
fabric_version=0.40.1+1.17
|
||||||
fabric_loader_version=0.11.6
|
fabric_loader_version=0.11.7
|
||||||
|
|
||||||
# Mod options
|
# Mod options
|
||||||
mod_group=com.blamejared.multiloader
|
mod_group=com.blamejared.multiloader
|
||||||
|
|
|
||||||
2
gradle/wrapper/gradle-wrapper.properties
vendored
2
gradle/wrapper/gradle-wrapper.properties
vendored
|
|
@ -1,5 +1,5 @@
|
||||||
distributionBase=GRADLE_USER_HOME
|
distributionBase=GRADLE_USER_HOME
|
||||||
distributionPath=wrapper/dists
|
distributionPath=wrapper/dists
|
||||||
distributionUrl=https\://services.gradle.org/distributions-snapshots/gradle-7.2-20210702220150+0000-bin.zip
|
distributionUrl=https\://services.gradle.org/distributions/gradle-7.2-bin.zip
|
||||||
zipStoreBase=GRADLE_USER_HOME
|
zipStoreBase=GRADLE_USER_HOME
|
||||||
zipStorePath=wrapper/dists
|
zipStorePath=wrapper/dists
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user