mirror of
https://github.com/Aizistral-Studios/No-Chat-Restrictions.git
synced 2026-05-14 21:03:32 +08:00
Update Forge runs configuration
This commit is contained in:
@@ -32,30 +32,17 @@ minecraft {
|
||||
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||
|
||||
runs {
|
||||
client {
|
||||
workingDirectory project.file('run')
|
||||
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
|
||||
property 'forge.logging.console.level', 'info'
|
||||
arg "-mixin.config=nochatrestrictions.mixins.json"
|
||||
|
||||
mods {
|
||||
nochatrestrictions {
|
||||
source sourceSets.main
|
||||
}
|
||||
}
|
||||
configureEach {
|
||||
workingDir = layout.projectDirectory.dir('run')
|
||||
systemProperty 'eventbus.api.strictRuntimeChecks', 'true'
|
||||
systemProperty 'forge.enabledGameTestNamespaces', 'nochatrestrictions'
|
||||
args '--mixin.config=nochatrestrictions.mixins.json'
|
||||
}
|
||||
|
||||
register('client')
|
||||
|
||||
server {
|
||||
workingDirectory project.file('run')
|
||||
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
|
||||
property 'forge.logging.console.level', 'info'
|
||||
arg "-mixin.config=nochatrestrictions.mixins.json"
|
||||
|
||||
mods {
|
||||
nochatrestrictions {
|
||||
source sourceSets.main
|
||||
}
|
||||
}
|
||||
register('server') {
|
||||
args '--nogui'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user