mirror of
https://github.com/Aizistral-Studios/No-Chat-Restrictions.git
synced 2026-05-14 12:53: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')
|
// accessTransformer = file('src/main/resources/META-INF/accesstransformer.cfg')
|
||||||
|
|
||||||
runs {
|
runs {
|
||||||
client {
|
configureEach {
|
||||||
workingDirectory project.file('run')
|
workingDir = layout.projectDirectory.dir('run')
|
||||||
property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP'
|
systemProperty 'eventbus.api.strictRuntimeChecks', 'true'
|
||||||
property 'forge.logging.console.level', 'info'
|
systemProperty 'forge.enabledGameTestNamespaces', 'nochatrestrictions'
|
||||||
arg "-mixin.config=nochatrestrictions.mixins.json"
|
args '--mixin.config=nochatrestrictions.mixins.json'
|
||||||
|
|
||||||
mods {
|
|
||||||
nochatrestrictions {
|
|
||||||
source sourceSets.main
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
register('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 {
|
register('server') {
|
||||||
nochatrestrictions {
|
args '--nogui'
|
||||||
source sourceSets.main
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user