public class CoreModManager
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
private static class |
CoreModManager.FMLPluginWrapper |
Modifier and Type | Field and Description |
---|---|
private static java.util.List<java.lang.String> |
accessTransformers |
private static java.lang.reflect.Method |
ADDURL |
private static java.util.List<java.lang.String> |
candidateModFiles |
private static java.util.jar.Attributes.Name |
COREMODCONTAINSFMLMOD |
(package private) static boolean |
deobfuscatedEnvironment |
private static java.util.List<java.lang.String> |
ignoredModFiles |
private static java.util.List<CoreModManager.FMLPluginWrapper> |
loadPlugins |
private static java.io.File |
mcDir |
private static java.util.jar.Attributes.Name |
MODTYPE |
private static java.util.Set<java.lang.String> |
rootNames |
private static java.lang.String[] |
rootPlugins |
private static java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
transformers |
private static FMLTweaker |
tweaker |
private static java.util.Map<java.lang.String,java.lang.Integer> |
tweakSorting |
Constructor and Description |
---|
CoreModManager() |
Modifier and Type | Method and Description |
---|---|
private static void |
closeQuietly(java.io.Closeable closeable) |
private static void |
discoverCoreMods(java.io.File mcDir,
net.minecraft.launchwrapper.LaunchClassLoader classLoader) |
private static void |
findDerpMods(net.minecraft.launchwrapper.LaunchClassLoader classLoader,
java.io.File modDir,
java.io.File modDirVer) |
static java.util.List<java.lang.String> |
getAccessTransformers() |
static java.util.List<java.lang.String> |
getIgnoredMods() |
static java.util.List<java.lang.String> |
getReparseableCoremods() |
static java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getTransformers() |
private static void |
handleCascadingTweak(java.io.File coreMod,
java.util.jar.JarFile jar,
java.lang.String cascadedTweaker,
net.minecraft.launchwrapper.LaunchClassLoader classLoader,
java.lang.Integer sortingOrder) |
static void |
handleLaunch(java.io.File mcDir,
net.minecraft.launchwrapper.LaunchClassLoader classLoader,
FMLTweaker tweaker) |
static void |
injectCoreModTweaks(FMLInjectionAndSortingTweaker fmlInjectionAndSortingTweaker) |
static void |
injectTransformers(net.minecraft.launchwrapper.LaunchClassLoader classLoader) |
private static java.io.File[] |
listFiles(java.io.FileFilter filter,
java.io.File... dirs) |
private static CoreModManager.FMLPluginWrapper |
loadCoreMod(net.minecraft.launchwrapper.LaunchClassLoader classLoader,
java.lang.String coreModClass,
java.io.File location) |
static void |
onCrash(java.lang.StringBuilder builder) |
private static java.io.File |
setupCoreModDir(java.io.File mcDir) |
static void |
sortTweakList() |
private static final java.util.jar.Attributes.Name COREMODCONTAINSFMLMOD
private static final java.util.jar.Attributes.Name MODTYPE
private static java.lang.String[] rootPlugins
private static java.util.List<java.lang.String> ignoredModFiles
private static java.util.Map<java.lang.String,java.util.List<java.lang.String>> transformers
private static java.util.List<CoreModManager.FMLPluginWrapper> loadPlugins
private static FMLTweaker tweaker
private static java.io.File mcDir
private static java.util.List<java.lang.String> candidateModFiles
private static java.util.List<java.lang.String> accessTransformers
private static java.util.Set<java.lang.String> rootNames
static boolean deobfuscatedEnvironment
private static java.lang.reflect.Method ADDURL
private static java.util.Map<java.lang.String,java.lang.Integer> tweakSorting
public static void handleLaunch(java.io.File mcDir, net.minecraft.launchwrapper.LaunchClassLoader classLoader, FMLTweaker tweaker)
private static void findDerpMods(net.minecraft.launchwrapper.LaunchClassLoader classLoader, java.io.File modDir, java.io.File modDirVer)
private static java.io.File[] listFiles(java.io.FileFilter filter, java.io.File... dirs)
private static void discoverCoreMods(java.io.File mcDir, net.minecraft.launchwrapper.LaunchClassLoader classLoader)
private static void handleCascadingTweak(java.io.File coreMod, java.util.jar.JarFile jar, java.lang.String cascadedTweaker, net.minecraft.launchwrapper.LaunchClassLoader classLoader, java.lang.Integer sortingOrder)
private static java.io.File setupCoreModDir(java.io.File mcDir)
mcDir
- the minecraft home directorypublic static java.util.List<java.lang.String> getIgnoredMods()
public static java.util.Map<java.lang.String,java.util.List<java.lang.String>> getTransformers()
public static java.util.List<java.lang.String> getReparseableCoremods()
private static CoreModManager.FMLPluginWrapper loadCoreMod(net.minecraft.launchwrapper.LaunchClassLoader classLoader, java.lang.String coreModClass, java.io.File location)
public static void injectTransformers(net.minecraft.launchwrapper.LaunchClassLoader classLoader)
public static void injectCoreModTweaks(FMLInjectionAndSortingTweaker fmlInjectionAndSortingTweaker)
public static void sortTweakList()
public static java.util.List<java.lang.String> getAccessTransformers()
public static void onCrash(java.lang.StringBuilder builder)
private static void closeQuietly(java.io.Closeable closeable)