Posted March 28, 20205 yr Forge repeatedly claims this: [20:25:59] [main/WARN] [ne.mi.fm.lo.mo.ExplodedDirectoryLocator/LOADING]: Failed to find exploded resource mods.toml However my mods.toml is in src\main\resources\META-INF\mods.toml Here is what it looks like # The name of the mod loader type to load - for regular FML @Mod mods it should be javafml modLoader="javafml" #mandatory # A version range to match for said mod loader - for regular FML @Mod it will be the forge version loaderVersion="[28,)" #mandatory (28 is current forge version) # A list of mods - how many allowed here is determined by the individual mod loader [[mods]] #mandatory # The modid of the mod modId="cruelars_triforcemod" #mandatory # The version number of the mod - there's a few well known ${} variables useable here or just hardcode it version=${file.jarVersion} #mandatory # A display name for the mod displayName="Cruelars Triforcemod" #mandatory # A text field displayed in the mod UI authors="Cruelar" #optional # The description text for the mod (multi line!) (#mandatory) description='"A The Legend of Zelda Mod"' [[dependencies.cruelars_triforcemod]] #optional # the modid of the dependency modId="forge" #mandatory # Does this dependency have to exist - if not, ordering below must be specified mandatory=true #mandatory # The version range of the dependency versionRange="[28,)" #mandatory # An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory ordering="NONE" # Side this dependency is applied on - BOTH, CLIENT or SERVER side="BOTH" [[dependencies.cruelars_triforcemod]] # the modid of the dependency modId="minecraft" # Does this dependency have to exist - if not, ordering below must be specified mandatory=true # The version range of the dependency versionRange="[1.14.4]" # An ordering relationship for the dependency - BEFORE or AFTER required if the relationship is not mandatory ordering="NONE" # Side this dependency is applied on - BOTH, CLIENT or SERVER side="BOTH" Also a picture of the folder structure: So what could possibly cause this? Because all explanations I saw so far target the file being at the wrong location however this doesn't seem to be the case. Edited April 3, 20205 yr by _Cruelar_ Forgot some lines My Projects: Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming) Important: As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts
March 29, 20205 yr Author Could somebody please tell me if I'm missing something obvious, I kinda feel dumb about this as I had something like this before and don't know how to fix it My Projects: Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming) Important: As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts
April 2, 20205 yr Author Sorry to bump this but I've been Searching for an error since I posted this and no matter what I did it, it keeps sending this message and nothing is registered. is there some hidden condition I'm not fulfilling? My Projects: Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming) Important: As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts
April 2, 20205 yr The only difference I can see between mine and yours is the format of the mods.toml file. I'm not sure if that makes any difference, but it's worth a shot. Mine doesn't have any tabs at all. Not any good at this stuff, just trying to help out. modLoader="javafml" #mandatory loaderVersion="[31,)" #mandatory issueTrackerURL="https://github.com/EricHedengren/StandardMaterials/issues" #optional [[mods]] #mandatory modId="standardmaterials" #mandatory version="1.1.3" #mandatory displayName="Standard Materials" #mandatory updateJSONURL="https://gist.githubusercontent.com/EricHedengren/f7d07eea9072592838f24d2889713e6f/raw" #optional displayURL="https://www.curseforge.com/minecraft/mc-mods/standardmaterials" #optional logoFile="icon.png" #optional credits="Isaac, Michael, Curseforge commenters, and the Internet" #optional authors="BaconBombingDeveloper" #optional description=''' This mod adds obsidian and emerald tools to the game. Obsidian tools are extremely durable, and emerald tools have high efficiency and attack damage. ''' [[dependencies.standardmaterials]] #optional modId="forge" #mandatory mandatory=true #mandatory versionRange="[31,)" #mandatory ordering="NONE" side="BOTH" [[dependencies.standardmaterials]] modId="minecraft" mandatory=true versionRange="[1.15.2]" ordering="NONE" side="BOTH" CurseForge | GitHub
April 3, 20205 yr Author I'll try it, but I doubt this is the issue. I have a other mod with the same formatting which does work. Thanks for the effort though, highly appreciated My Projects: Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming) Important: As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts
April 3, 20205 yr On 3/28/2020 at 12:33 PM, _Cruelar_ said: Here is what it looks like You are missing these two lines. modLoader="javafml" loaderVersion="[31,)" And both are mandatory. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
April 3, 20205 yr Author No I don't I just for some reason seam to have decided to paste them in will fix that My Projects: Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming) Important: As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts
April 3, 20205 yr You should post your entire mod as a buildable git repo on github or something, makes it easier for people to see errors (or to build the mod to help debug) and prevents forgetting to paste code to a forum post
April 3, 20205 yr 4 minutes ago, _Cruelar_ said: No I don't I just for some reason seam to have decided to paste them in will fix that I agree with Ugdhar. Would make this a little easier. However, try building your mod and checking if the built jar contains the mods.toml file. If it doesn't there was likely a problem with setting up your workspace and you will need to do it again. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
April 3, 20205 yr Author The file is in build/resources/main/META-INF which is what confuses me. It's working to build the mod but not to load it. Just a random guess as I saw that right now, does he have a problem with . , _ and similar in the build path? My Projects: Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming) Important: As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts
April 3, 20205 yr 4 minutes ago, _Cruelar_ said: does he have a problem with . , _ and similar in the build path? I'm not sure what you are asking. 5 minutes ago, _Cruelar_ said: The file is in build/resources/main/META-INF which is what confuses me. It's working to build the mod but not to load it. Just a random guess as I saw that right now Is the file located in the built jar file? And could you post your code as a github repo so I can test it locally? VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
April 3, 20205 yr Author I don't know or can find where it is which might already be the issue so I guess I should try to resetup my workspace My Projects: Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming) Important: As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts
April 3, 20205 yr Author Works now thanks. Have a wonderful day everyone! My Projects: Cruelars Triforcemod (1.12 release; 1.14 alpha soon coming) Important: As my mod is on at least 10 different third party sites without my permission, I want to warn you about that with a link to StopModReposts
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.