classstablelombokSource
@API(status = STABLE)
public class LaunchConfiguration

Methods

public 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

public EventBus getEventBus()

Returns the eventBus value.

Returns
EventBus

Generated by Lombok's @Getter for the field eventBus

public List<String> getExtraJvmArgs()
Returns
List<String>
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

public Path getJarFile()

Returns the jarFile value.

Returns
Path

Generated by Lombok's @Getter for the field jarFile

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

public Loader getLoader()

Returns the loader value.

Returns
Loader

Generated by Lombok's @Getter for the field loader

public int getMaxRam()

Returns the maxRam value.

Returns
int

Generated by Lombok's @Getter for the field maxRam

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

public boolean isDemoUser()

Returns the demoUser value.

Returns
boolean

Generated by Lombok's @Getter for the field demoUser

public boolean isHeadless()

Returns the headless value.

Returns
boolean

Generated by Lombok's @Getter for the field headless

public Path resolveGameDirectory()
Resolves the directory the game runs in, where saves, mods, options and logs end up
Returns
PathThe configured game directory, or <jarFile's parent directory> if none was set
public Path resolveNativesDirectory()
Resolves the directory native libraries are extracted to and loaded from
Returns
PathThe 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.