Quilt Loader 1
Loading...
Searching...
No Matches
org.quiltmc.loader.impl.util.SystemProperties Class Reference

Static Public Member Functions

static boolean getBoolean (String name, boolean fallbackDefault)

Static Public Attributes

static final String DEVELOPMENT = "loader.development"
static final String SIDE = "loader.side"
static final String GAME_JAR_PATH = "loader.gameJarPath"
static final String GAME_JAR_PATH_CLIENT = "loader.gameJarPath.client"
static final String GAME_JAR_PATH_SERVER = "loader.gameJarPath.server"
static final String MOJMAP_PATH = "loader.experimental.minecraft.mojmapPath"
static final String TARGET_NAMESPACE = "loader.experimental.minecraft.targetNamespace"
static final String GAME_VERSION = "loader.gameVersion"
static final String REMAP_CLASSPATH_FILE = "loader.remapClasspathFile"
static final String UNIT_TEST = "loader.unitTest"
static final String DEBUG_MOD_SOLVING = "loader.debug.mod_solving"
static final String PRINT_MOD_SOLVING_RESULTS = "loader.mod_solving.print_results"
static final String DISABLE_MOD_SOLVING_PRE_PROCESSING = "loader.mod_solving.disable_pre_processor"
static final String MODS_DIRECTORY = "loader.modsDir"
static final String CACHE_DIRECTORY = "loader.cacheDir"
static final String CONFIG_DIRECTORY = "loader.configDir"
static final String DEFAULT_CONFIG_EXTENSION = "loader.defaultConfigExtension"
static final String GLOBAL_CONFIG_EXTENSION = "loader.globalConfigExtension"
static final String LOG_FILE = "loader.log.file"
static final String LOG_LEVEL = "loader.log.level"
static final String SKIP_MC_PROVIDER = "loader.skipMcProvider"
static final String ADD_MODS = "loader.addMods"
static final String PATH_GROUPS = "loader.classPathGroups"
static final String FIX_PACKAGE_ACCESS = "loader.fixPackageAccess"
static final String SYSTEM_LIBRARIES = "loader.systemLibraries"
static final String DISABLE_FORKED_GUIS = "loader.disable_forked_guis"
static final String DEBUG_LOG_LIB_CLASSIFICATION = "loader.debug.logLibClassification"
static final String DEBUG_THROW_DIRECTLY = "loader.debug.throwDirectly"
static final String DEBUG_LOAD_LATE = "loader.debug.loadLate"
static final String DEBUG_REPLACE_VERSION = "loader.debug.replaceVersion"
static final String DEBUG_RESOLUTION_TIME_LIMIT = "loader.debug.resolutionTimeLimit"
static final String DEBUG_DUMP_OVERRIDE_PATHS = "loader.debug.dump_override_paths"
static final String DEBUG_OVERRIDE_FILE = "loader.debug.override_file"
static final String GENERATE_OVERRIDES_FILE = "loader.overrides.generate_file"
static final String ENABLE_EXPERIMENTAL_CHASM = "loader.experimental.enable_chasm"
static final String ENABLE_EXPERIMENTAL_LOADING_PLUGINS = "loader.experimental.allow_loading_plugins"
static final String JAR_COPIED_MODS = "loader.workaround.jar_copied_mods"
static final String JAR_COPY_ALL_MODS = "loader.workaround.jar_copy_all_mods"
static final String DISABLE_STRICT_PARSING = "loader.workaround.disable_strict_parsing"
static final String LOG_EARLY_CLASS_LOADS = "loader.debug.log_early_class_loads"
static final String DEBUG_CLASS_TO_MOD = "loader.debug.dump_class_to_mod"
static final String CACHE_SUFFIX = "loader.cache_suffix"
static final String DISABLE_OPTIMIZED_COMPRESSED_TRANSFORM_CACHE = "loader.transform_cache.disable_optimised_compression"
static final String DISABLE_PRELOAD_TRANSFORM_CACHE = "loader.transform_cache.disable_preload"
static final String LOG_CACHE_KEY_CHANGES = "loader.transform_cache.log_changed_keys"
static final String USE_ZIPFS_TEMP_FILE = "loader.zipfs.use_temp_file"
static final String ENABLE_QUILT_MOD_JSON5_IN_DEV_ENV = "loader.enable_quilt_mod_json5_in_dev_env"
static final String DEBUG_DUMP_FILESYSTEM_CONTENTS = "loader.debug.filesystem.dump_contents"
static final String ALWAYS_DEFER_FILESYSTEM_OPERATIONS = "loader.workaround.defer_all_filesystem_operations"
static final String DISABLE_QUILT_CLASS_PATH_CUSTOM_TABLE = "loader.quilt_class_path.disable_custom_table"
static final String DISABLE_BUILTIN_MIXIN_EXTRAS = "loader.disable_builtin_mixin_extras"
static final String IGNORE_UNSUPPORTED_MODS = "loader.ignore_unsupported_mods"
 whether the loader should display unsupported mods with the GUI or ignore and continue starting up the game.
static final String BOOT_LIBRARY_ROOT = "loader.boot.library_root"
static final String DISABLE_URL_STREAM_FACTORY = "loader.disable_url_stream_factory"
 Disables loader from registering its URLStreamHandlerFactory with URL#setURLStreamHandlerFactory(URLStreamHandlerFactory).
static final String DEBUG_GUI_PACKETS = "loader.debug.gui_packets"
 Enables printing all gui packets that are sent and received.
static final String DEBUG_DUMP_PATCHED_CLASSES = "loader.debug.dump_patched_classes"
 Enables saving of all patched classes for debug purposes.
static final String DISABLE_REFLECTIVE_FIXES = "loader.transform.reflective_fixes.disable"
 Prevents loader from transforming classes with ReflectiveFixer.
static final String DISABLE_KOTLIN_METADATA_REMAP = "loader.transform.kotlin_metadata_remap.disable"
 Disables KotlinMetadataRemapper.
static final int VALIDATION_LEVEL = Integer.getInteger("loader.validation.level", 0)
 Integer between 0 and 5.
static final String VALIDATE_QUILT_CLASS_PATH = "loader.validation.quilt_class_path"
 Controls validation for QuiltClassPath.
static final String VALIDATE_QUILT_BASE_PATH = "loader.validation.quilt_base_path"
 Controls validation for QuiltBasePath.
static final String DEBUG_VALIDATE_FILESYSTEM_CONTENTS = "loader.debug.filesystem.validate_constantly"
 Controls if QuiltMapFileSystem should validate its internal map on every filesystem operation.

Member Data Documentation

◆ DEBUG_VALIDATE_FILESYSTEM_CONTENTS

final String org.quiltmc.loader.impl.util.SystemProperties.DEBUG_VALIDATE_FILESYSTEM_CONTENTS = "loader.debug.filesystem.validate_constantly"
static

Controls if QuiltMapFileSystem should validate its internal map on every filesystem operation.

Also enabled by VALIDATION_LEVEL > 3

◆ DISABLE_URL_STREAM_FACTORY

final String org.quiltmc.loader.impl.util.SystemProperties.DISABLE_URL_STREAM_FACTORY = "loader.disable_url_stream_factory"
static

◆ VALIDATE_QUILT_BASE_PATH

final String org.quiltmc.loader.impl.util.SystemProperties.VALIDATE_QUILT_BASE_PATH = "loader.validation.quilt_base_path"
static

Controls validation for QuiltBasePath.

Also enabled by VALIDATION_LEVEL > 0.

◆ VALIDATE_QUILT_CLASS_PATH

final String org.quiltmc.loader.impl.util.SystemProperties.VALIDATE_QUILT_CLASS_PATH = "loader.validation.quilt_class_path"
static

Controls validation for QuiltClassPath.

Also enabled by VALIDATION_LEVEL > 0.

◆ VALIDATION_LEVEL

final int org.quiltmc.loader.impl.util.SystemProperties.VALIDATION_LEVEL = Integer.getInteger("loader.validation.level", 0)
static

Integer between 0 and 5.

Controls various other validation properties, if they aren't specified.

  1. The default. Used for validation that isn't expected to cost performance, although these aren't controllable via a system property.
  2. Adds double-checking for some optimisations. Enabling these may cause a slight slowdown in some operations.
  3. UNUSED
  4. UNUSED
  5. Fairly expensive validation. This either implies a small increase in memory usage, or very large performance slowdown.
  6. Extremely expensive validation. Might imply heavy disk usage, or beyond 1000x performance slowdown for common tasks, or large increases in memory usage. (No properties use this at the moment).

The documentation for this class was generated from the following file:
  • src/main/java/org/quiltmc/loader/impl/util/SystemProperties.java