Add support for changing your in-game username (good for testing networking), remove the pulsar logger since pulses are RIP, and disable the `scan` logger marker to remove a lot of the spam from data generation.
@@ -116,8 +116,8 @@ minecraft {
workingDirectory project.file('run')
// Recommended logging data for a userdev environment
- property 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP,CORE,PULSAR'
- // property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP,CORE,PULSAR' enable if you want spam from the scanner.
+ property 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP,CORE'
+ // property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP,CORE' enable if you want spam from the scanner.
// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'
@@ -127,13 +127,35 @@ minecraft {
source sourceSets.main
}
}
+
+ //The below if statements are to add args to your gradle.properties file in user home
+ // (DO NOT add them directly to the gradle.properties file for this project)
+ // Setting the below properties allows use of your normal Minecraft account in the
+ // dev environment including having your skin load. Each property also has a comment
+ // explaining what information to set the value to/format it expects
+ // One thing to note is because of the caching that goes on, after changing these
+ // variables, you need to refresh the project and rerun genIntellijRuns/genEclipseRuns
+ if (project.hasProperty('mc_uuid')) {
+ //Your uuid without any dashes in the middle
+ args '--uuid', project.getProperty('mc_uuid')
+ }
+ if (project.hasProperty('mc_username')) {
+ //Your username/display name, this is the name that shows up in chat
+ // Note: This is not your email, even if you have a Mojang account
+ args '--username', project.getProperty('mc_username')
+ }
+ if (project.hasProperty('mc_accessToken')) {
+ //Your access token, you can find it in your '.minecraft/launcher_profiles.json' file
+ args '--accessToken', project.getProperty('mc_accessToken')
+ }
}
server {
workingDirectory project.file('run')
// Recommended logging data for a userdev environment
- property 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP,CORE,PULSAR'
+ property 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP,CORE'
+ // property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP,CORE' enable if you want spam from the scanner.
// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'
@@ -149,7 +171,8 @@ minecraft {
workingDirectory project.file('run')
// Recommended logging data for a userdev environment
- property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP,CORE,PULSAR'
+ property 'forge.logging.markers', 'REGISTRIES,REGISTRYDUMP,CORE'
+ // property 'forge.logging.markers', 'SCAN,REGISTRIES,REGISTRYDUMP,CORE' enable if you want spam from the scanner.
// Recommended logging level for the console
property 'forge.logging.console.level', 'debug'
