params.add("--assetsDir");
params.add(Dir.getAbsolutePath() + "/assets");
boolean tweakClass = false;
try {
cl.loadClass("com.mumfrey.liteloader.launch.LiteLoaderTweaker");
params.add("--tweakClass");
params.add("com.mumfrey.liteloader.launch.LiteLoaderTweaker");
tweakClass = true;
} catch (ClassNotFoundException x) {}
try {
cl.loadClass("cpw.mods.fml.common.launcher.FMLTweaker");
params.add("--tweakClass");
params.add("cpw.mods.fml.common.launcher.FMLTweaker");
tweakClass = true;
} catch (ClassNotFoundException x) {}
if(tweakClass)
{
Class = "net.minecraft.launchwrapper.Launch";
}