|
| class | InitHelper |
| | Provides singleton for static init assignment regardless of load order.
|
|
|
static Path | ensureDirExists (Path path, String name) |
|
static String | prefixPath (Path gameDir, Path modsDir, Path path) |
|
|
static final QuiltLoaderImpl | INSTANCE = InitHelper.get() |
|
static final int | ASM_VERSION = Opcodes.ASM9 |
|
static final String | VERSION = "0.30.0-beta.2" |
|
static final String | MOD_ID = "quilt_loader" |
|
static final String | DEFAULT_MODS_DIR = "mods" |
|
static final String | DEFAULT_CACHE_DIR = ".cache" |
|
static final String | DEFAULT_CONFIG_DIR = "config" |
|
static final String | CACHE_DIR_NAME = "quilt_loader" |
|
static final String | REMAPPED_JARS_DIR_NAME = "remappedJars" |
|
static final char | FLAG_DEPS_CHANGED = 'o' |
|
static final char | FLAG_DEPS_REMOVED = 'R' |
|
|
final Map< String, ModContainerExt > | modMap = new HashMap<>() |
|
final Map< String, String > | modOriginHash = new HashMap<>() |
|
final Map< Path, String > | pathOriginHash = new HashMap<>() |
|
List< ModContainerExt > | mods = new ArrayList<>() |
◆ appendModTable()
| void org.quiltmc.loader.impl.QuiltLoaderImpl.appendModTable |
( |
Consumer< String > | to | ) |
|
|
inline |
Appends each line of createModTable() to the given consumer.
Map<String, ModContainerExt|ModLoadOption>
◆ getCacheDir()
| Path org.quiltmc.loader.impl.QuiltLoaderImpl.getCacheDir |
( |
| ) |
|
|
inline |
- Returns
- The game instance's cache directory.
◆ getConfigDir()
| Path org.quiltmc.loader.impl.QuiltLoaderImpl.getConfigDir |
( |
| ) |
|
|
inline |
- Returns
- The game instance's configuration directory.
◆ getGameDir()
| Path org.quiltmc.loader.impl.QuiltLoaderImpl.getGameDir |
( |
| ) |
|
|
inline |
- Returns
- The game instance's root directory.
◆ getQuiltLoaderCacheDir()
| Path org.quiltmc.loader.impl.QuiltLoaderImpl.getQuiltLoaderCacheDir |
( |
| ) |
|
|
inline |
- Returns
- "{@link #getCacheDir()} / {@value #CACHE_DIR_NAME}"
◆ setGameInstance()
| void org.quiltmc.loader.impl.QuiltLoaderImpl.setGameInstance |
( |
Object | gameInstance | ) |
|
|
inline |
Sets the game instance.
This is only used in 20w22a+ by the dedicated server and should not be called by anything else.
The documentation for this class was generated from the following file:
- src/main/java/org/quiltmc/loader/impl/QuiltLoaderImpl.java