Quilt Loader 1
Loading...
Searching...
No Matches
org.quiltmc.loader.impl.game.GameProvider Interface Reference
Inheritance diagram for org.quiltmc.loader.impl.game.GameProvider:
org.quiltmc.loader.impl.config.DummyGameProvider

Classes

class  BuiltinMod

Public Member Functions

String getGameId ()
String getGameName ()
String getRawGameVersion ()
String getNormalizedGameVersion ()
Collection< BuiltinModgetBuiltinMods ()
String getEntrypoint ()
Path getLaunchDirectory ()
MappingConfiguration getMappingConfiguration ()
 The mapping configuration for the game.
default boolean requiresPackageAccessFix ()
boolean requiresUrlClassLoader ()
boolean isEnabled ()
boolean locateGame (QuiltLauncher launcher, String[] args)
void initialize (QuiltLauncher launcher)
GameTransformer getEntrypointTransformer ()
void unlockClassPath (QuiltLauncher launcher)
void launch (ClassLoader loader)
List< Path > getGameJars (@Nullable String namespace)
 Returns the game jars mapped to the given namespace.
default boolean isGameClass (String name)
default boolean displayCrash (Throwable exception, String context)
Arguments getArguments ()
String[] getLaunchArguments (boolean sanitize)
default boolean canOpenGui ()
default boolean hasAwtSupport ()

Member Function Documentation

◆ getGameJars()

List< Path > org.quiltmc.loader.impl.game.GameProvider.getGameJars ( @Nullable String namespace)

Returns the game jars mapped to the given namespace.

Parameters
namespaceif null, returns the default (mapped) jars
Returns
a list of all game jars, or null if they do not exist (or, in development environments, are not known to the gameprovider – see org.quiltmc.loader.impl.util.SystemProperties#REMAP_CLASSPATH_FILE)

Implemented in org.quiltmc.loader.impl.config.DummyGameProvider.

◆ getMappingConfiguration()

MappingConfiguration org.quiltmc.loader.impl.game.GameProvider.getMappingConfiguration ( )

The mapping configuration for the game.

Unobfuscated games should use EmptyMappingConfiguration.

Implemented in org.quiltmc.loader.impl.config.DummyGameProvider.

◆ requiresPackageAccessFix()

default boolean org.quiltmc.loader.impl.game.GameProvider.requiresPackageAccessFix ( )
inline
Returns
True if the game itself (identified by getGameId()) should be fully access-widend by PackageAccessFixer. This is normally only useful if your mappings moves classes between packages, and doesn't widen private members.

The documentation for this interface was generated from the following file:
  • src/main/java/org/quiltmc/loader/impl/game/GameProvider.java