_Cruelar_ Posted March 28, 2020 Posted March 28, 2020 (edited) 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, 2020 by _Cruelar_ Forgot some lines Quote 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
_Cruelar_ Posted March 29, 2020 Author Posted March 29, 2020 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 Quote 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
_Cruelar_ Posted April 2, 2020 Author Posted April 2, 2020 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? Quote 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
BaconBombing Posted April 2, 2020 Posted April 2, 2020 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" Quote CurseForge | GitHub
_Cruelar_ Posted April 3, 2020 Author Posted April 3, 2020 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 Quote 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
Animefan8888 Posted April 3, 2020 Posted April 3, 2020 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. Quote 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.
_Cruelar_ Posted April 3, 2020 Author Posted April 3, 2020 No I don't I just for some reason seam to have decided to paste them in will fix that Quote 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
Ugdhar Posted April 3, 2020 Posted April 3, 2020 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 Quote
Animefan8888 Posted April 3, 2020 Posted April 3, 2020 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. Quote 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.
_Cruelar_ Posted April 3, 2020 Author Posted April 3, 2020 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? Quote 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
Animefan8888 Posted April 3, 2020 Posted April 3, 2020 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? 1 Quote 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.
_Cruelar_ Posted April 3, 2020 Author Posted April 3, 2020 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 Quote 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
_Cruelar_ Posted April 3, 2020 Author Posted April 3, 2020 Works now thanks. Have a wonderful day everyone! Quote 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
Recommended Posts
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.