minified-launch/com.dervarex.minified.launch.launch
LaunchConfiguration
@API(status = STABLE)
public class LaunchConfigurationMethods
Path getAssetsDirectory()Returns the assetsDirectory value.Path getCustomJavaExecutable()Returns the customJavaExecutable value.int getDownloadThreads()Returns the downloadThreads value.EventBus getEventBus()Returns the eventBus value.List<String> getExtraJvmArgs()Path getGameDirectory()Returns the gameDirectory value.String getHeadlessMarker()Returns the headlessMarker value.int getHeadlessTimeoutSeconds()Returns the headlessTimeoutSeconds value.Path getJarFile()Returns the jarFile value.String getLauncherName()Returns the launcherName value.String getLauncherVersion()Returns the launcherVersion value.Path getLibrariesDirectory()Returns the librariesDirectory value.Loader getLoader()Returns the loader value.int getMaxRam()Returns the maxRam value.int getMinRam()Returns the minRam value.Path getNativesDirectory()Returns the nativesDirectory value.String getOfflineUsername()Returns the offlineUsername value.int getResolutionHeight()Returns the resolutionHeight value.int getResolutionWidth()Returns the resolutionWidth value.boolean isCaptureGameOutput()Returns the captureGameOutput value.boolean isCustomResolution()Returns the customResolution value.boolean isDemoUser()Returns the demoUser value.boolean isHeadless()Returns the headless value.Path resolveGameDirectory()Resolves the directory the game runs in, where saves, mods, options and logs end upPath resolveNativesDirectory()Resolves the directory native libraries are extracted to and loaded frompublic Path getAssetsDirectory()Returns the assetsDirectory value.
| Returns | ||
|---|---|---|
Path | ||
Generated by Lombok's @Getter for the field assetsDirectory
public Path getCustomJavaExecutable()Returns the customJavaExecutable value.
| Returns | ||
|---|---|---|
Path | ||
Generated by Lombok's @Getter for the field customJavaExecutable
public int getDownloadThreads()Returns the downloadThreads value.
| Returns | ||
|---|---|---|
int | ||
Generated by Lombok's @Getter for the field downloadThreads
getEventBus()
public EventBus getEventBus()public List<String> getExtraJvmArgs()getGameDirectory()
public Path getGameDirectory()Returns the gameDirectory value.
| Returns | ||
|---|---|---|
Path | ||
Generated by Lombok's @Getter for the field gameDirectory
public String getHeadlessMarker()Returns the headlessMarker value.
| Returns | ||
|---|---|---|
String | ||
Generated by Lombok's @Getter for the field headlessMarker
public int getHeadlessTimeoutSeconds()Returns the headlessTimeoutSeconds value.
| Returns | ||
|---|---|---|
int | ||
Generated by Lombok's @Getter for the field headlessTimeoutSeconds
getJarFile()
public Path getJarFile()getLauncherName()
public String getLauncherName()Returns the launcherName value.
| Returns | ||
|---|---|---|
String | ||
Generated by Lombok's @Getter for the field launcherName
public String getLauncherVersion()Returns the launcherVersion value.
| Returns | ||
|---|---|---|
String | ||
Generated by Lombok's @Getter for the field launcherVersion
public Path getLibrariesDirectory()Returns the librariesDirectory value.
| Returns | ||
|---|---|---|
Path | ||
Generated by Lombok's @Getter for the field librariesDirectory
getLoader()
public Loader getLoader()getMaxRam()
public int getMaxRam()Returns the maxRam value.
| Returns | ||
|---|---|---|
int | ||
Generated by Lombok's @Getter for the field maxRam
getMinRam()
public int getMinRam()Returns the minRam value.
| Returns | ||
|---|---|---|
int | ||
Generated by Lombok's @Getter for the field minRam
public Path getNativesDirectory()Returns the nativesDirectory value.
| Returns | ||
|---|---|---|
Path | ||
Generated by Lombok's @Getter for the field nativesDirectory
public String getOfflineUsername()Returns the offlineUsername value.
| Returns | ||
|---|---|---|
String | ||
Generated by Lombok's @Getter for the field offlineUsername
public int getResolutionHeight()Returns the resolutionHeight value.
| Returns | ||
|---|---|---|
int | ||
Generated by Lombok's @Getter for the field resolutionHeight
public int getResolutionWidth()Returns the resolutionWidth value.
| Returns | ||
|---|---|---|
int | ||
Generated by Lombok's @Getter for the field resolutionWidth
public boolean isCaptureGameOutput()Returns the captureGameOutput value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field captureGameOutput
public boolean isCustomResolution()Returns the customResolution value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field customResolution
isDemoUser()
public boolean isDemoUser()Returns the demoUser value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field demoUser
isHeadless()
public boolean isHeadless()Returns the headless value.
| Returns | ||
|---|---|---|
boolean | ||
Generated by Lombok's @Getter for the field headless
public Path resolveGameDirectory()| Returns | ||
|---|---|---|
Path | The configured game directory, or <jarFile's parent directory> if none was set | |
public Path resolveNativesDirectory()| Returns | ||
|---|---|---|
Path | The configured natives directory, or <jarFile's parent directory>/natives if none was set | |
Nested types
Used by
Methods of other types that accept or return LaunchConfiguration.
ArgumentsBuilder.buildGameArguments()ArgumentsBuilder.buildJvmArguments()ClasspathBuilder.buildClasspath()FabricProfileJsonLoader.loadFabricProfileJson()ForgeProfileJsonLoader.loadForgeProfileJson()GameProcessStartedEvent.launchConfiguration()GameStartEvent.launchConfiguration()GameStoppedEvent.launchConfiguration()HeadlessWatcher.forLaunch()JarModForgeInstaller.install()LaunchConfiguration.Builder.build()LaunchOptions.buildLaunchOptions()Launcher.launchMinecraft()LegacyAssets.reconstruct()LegacyAssets.resolveGameAssetsDirectory()LegacyForgeGameJar.prepare()LegacyForgeGameJar.resolve()LegacyForgeInstaller.install()NeoProfileJsonLoader.loadNeoforgeProfileJson()ProfileFactory.load()ProfileFactory.save()QuiltProfileJsonLoader.loadQuiltProfileJson()