Skip to content

System Properties

AlexIIL edited this page Aug 17, 2023 · 3 revisions

These can be added or changed by adding -Dname=value to your command line arguments. The official minecraft launcher calls these "JVM Arguments", and MultiMC calls these "Java Arguments" - other launchers will use similar names.

loader.development

This controls whether loader thinks it's running in a development environment - if so it won't attempt to remap minecraft from obfuscated to intermidiary (since it assumes it's already using named), and a few other things that will break if you're not in a development environment.

This should be omitted normally, and set to true if it's running in a development environment.

loader.side

This can be used instead of KnotClient/KnotServer to specify the minecraft side that the game is running with.

Permitted values are client or server.

loader.gameJarPath

This sets the location where quilt-loader will look for the minecraft jar file. May be omitted if it's already on the classpath (client) or specified in quilt-server-launcher.properties (server). Defaults to server.jar if not found elsewhere (server).

loader.gameVersion

This replaces the normal minecraft version finding mechanism.

loader.remapClasspathFile

TODO!

loader.debug.mod_solving

If set to true then this logs a lot of information about the mod solving state. Don't use this unless you have a very small modset or are running into very strange mod solving errors and a quilt-loader developer requests it. (In almost all circumstances the crash report will contain enough information to diagnose "Unhandled solver error"). Plugin developers who are adding solver rules will likely need to turn this option while debugging.

loader.modsDir

Used to replace the default mods folder. If this path is relative then it will be resolved against the game directory. Defaults to mods.

loader.configDir

Used to replace the default config folder. If this path is relative then it will be resolved against the game directory. Defaults to config.

loader.cacheDir

Used to replace the default cache folder. If this path is relative then it will be resolved against the game directory. Defaults to cache.

loader.defaultConfigExtension

TODO!

loader.globalConfigExtension

TODO!

loader.log.file

TODO!

loader.log.level

TODO!

loader.skipMcProvider

This forces loader to ignore the minecraft game provider when searching for a game provider. Don't set this if you're trying to play minecraft. This is provided since the mechanism for using quilt-loader for other games isn't set in stone yet.

loader.addMods

This specifies additional mod files or folders to search for mods. This is a list of paths, separated by the "path separator" for your operating system: a semicolon on windows, or a colon on linux/macos.

Folders must end with /* on linux/macos/windows, but can end with \* on windows, otherwise loader will treat the folder as a mod file.

Entries may start with @ to indicate that the list of files is stored in a file, separated by newlines. Said file may not contain additional @-prefixed paths, and follows the same rules as above (/* for folders, otherwise each entry is a file).

loader.classPathGroups

TODO!

loader.debug.throwDirectly

By default loader gathers exceptions thrown by entrypoint invocations into a single error - setting this to true disables this functionality, and forces exceptions thrown by entrypoints to be thrown immediately.

loader.debug.loadLate

By default quilt-loader orders mods in a semi-random order (it's based on how a HashMap orders mod ids). This property allows you to force a list of mods to be loaded last.

The value should be a comma-separated list of mod ids, for example "modmenu,buildcraft-all," would load all mods, then "modmenu" (if present), then "buildcraft-all" (if present).

loader.debug.replaceVersion

TODO!

loader.debug.replaceVersion

TODO!