Posted March 23, 20169 yr From what I findo out, some say that it should be used in the <profile>.json file under "minecraftArguments": " " like: "minecraftArguments": " --modListFile file1.json " it must have a filePath assigned like --modListFile ModList1.json and such file under ".\.minecraft\ModList1.json" and it must contain: { "repositoryRoot": "/home/squiddev/mods", "modRef": ["computercraft.jar", "cctweaks.jar"] } but the information source was not 100% sure of that. Can anyone help me on that?
March 26, 20169 yr The root object of the list file can contain three properties: repositoryRoot (string) - The root directory. All mod paths are relative to this. modRef (array of strings) - An array of mod references to load. parentList (optional string) - The path of the parent list, if any. If specified, FML will load this list as well as the current one. This can be chained (e.g. list A inherits from list B, which inherits from list C), but not looped (e.g. list A inherits from list B, which inherits from list A). Each mod reference is a string in the following format: "<group>:<name>:<version>[:<classifier>]" The path of the mod JAR is built from these components in the following format: <repositoryRoot>/<group>/<name>/<version>/<name>-<version>[-<classifier>].jar The square brackets denote an optional part; if no classifier is specified, it won't be used in the path. Any period ( . ) in the group will be replaced with a directory separator. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
March 26, 20169 yr { "repositoryRoot": "jsonmods", "modRef": [ "dan200:ComputerCraft:1.78", "org.squiddev:CCTweaks:1.8.9-0.3.2" ] } This will load two mods: <gameDir>/jsonmods/dan200/ComputerCraft/1.78/ComputerCraft-1.78.jar and <gameDir>/jsonmods/org/squiddev/CCTweaks/1.8.9-0.3.2/CCTweaks-1.8.9-0.3.2.jar (where <gameDir> is the game directory specified in the client's launcher profile or the server's directory). Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
March 26, 20169 yr Author wow, so i need to make a folder tree for each mod i'm using? Isn't there an easier way to make mod profiles? (with stock launcher)
March 26, 20169 yr You can use the --mods command line argument (a comma-separated list of mod files) or just create a separate game directory for each profile. I think the mod list file was mainly intended for modpack launchers (e.g. ATLauncher) to store their mods in a central location shared between all instances/profiles and still only load the mods for the launched pack. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
March 26, 20169 yr Author 'cuz i tried using the game folder and it still loaded all the mods in the main game folder.
March 27, 20169 yr about this "--mods" arg how do use it? Like I said, it's a comma-separated list of mod files to load. There's not much more to it than that. Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
March 27, 20169 yr like "--mods mod1.jar, mod2.jar, mod3.jar," ? --mods "modsDir1/mod1.jar,modsDir1/mod2.jar,modsDir2/mod3.jar" Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
March 27, 20169 yr Author btw. i put that here right? "minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userProperties ${user_properties} --userType ${user_type} --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --mods "modsDir1/mod1.jar,modsDir1/mod2.jar,modsDir2/mod3.jar""
March 27, 20169 yr Assuming that's in a JSON file, you need to escape the quotation marks for the --mods argument by placing a backslash in front of them: "minecraftArguments": "--username ${auth_player_name} --version ${version_name} --gameDir ${game_directory} --assetsDir ${assets_root} --assetIndex ${assets_index_name} --uuid ${auth_uuid} --accessToken ${auth_access_token} --userProperties ${user_properties} --userType ${user_type} --tweakClass net.minecraftforge.fml.common.launcher.FMLTweaker --mods \"modsDir1/mod1.jar,modsDir1/mod2.jar,modsDir2/mod3.jar\"" Does the Mojang launcher actually support passing arguments to Minecraft like this? Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.
March 27, 20169 yr Author yeah thats the profile.json inside the versions folder. like, "forge version.json"
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.