Jump to content

[Solved] Forge failing to load mods.toml (Setup wasn't correct)


_Cruelar_

Recommended Posts

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:

1452476836_explodedmods_toml.thumb.png.ce222bc735f29d480c1187742df4c183.png

 

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 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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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"

 

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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?

  • Thanks 1

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



  • Recently Browsing

    • No registered users viewing this page.
  • Posts

    • where opportunities abound and promises of financial prosperity beckon from every corner of the internet, the line between opportunity and deception becomes increasingly blurred. As a 38-year-old single mom, I embarked on a journey into the world of cryptocurrency investing, hoping to secure a brighter future for myself and my family. Little did I know, this journey would lead me down a treacherous path fraught with deception and heartbreak. My foray into cryptocurrency investing began with the promise of lucrative returns from a platform claiming to operate within Europe and South Asia. Blinded by optimism and the allure of financial gain, I entrusted my hard-earned savings to this fraudulent company, believing wholeheartedly in its legitimacy. However, my hopes were dashed when I began encountering difficulties with withdrawals and found myself entangled in a web of exorbitant fees and dubious practices. In a desperate bid to salvage what remained of my investment, I turned to a recovery company recommended to me by the very platform that had deceived me. Yet, even in my darkest hour, the deceit persisted, as I soon discovered that the company tasked with recovering my funds was complicit in the deception. Faced with the crushing realization that I had been betrayed once again, I felt a sense of hopelessness engulf me. It was in this moment of despair that I stumbled upon Lee Ultimate Hacker – a shining beacon of hope amidst the darkness of deception. Through a stroke of luck, I came across a blog post singing the praises of this remarkable team, and I knew I had found my savior. With nothing left to lose and everything to gain, I reached out to them, hoping against hope for a chance at redemption. From the outset, Lee Ultimate Hacker proved to be a guiding light in my journey toward financial recovery. Their professionalism, expertise, and unwavering commitment to client satisfaction set them apart from the myriad of recovery services in the digital sphere. With empathy and understanding, they listened to my story and embarked on a mission to reclaim what was rightfully mine. Through their diligent efforts and meticulous attention to detail, Lee Ultimate Hacker succeeded where others had failed, restoring a sense of hope and security in the wake of betrayal. Their dedication to justice and unwavering determination to deliver results ensured that I emerged from the ordeal stronger and more resilient than ever before. Throughout the recovery process, their team remained accessible, transparent, and supportive, offering guidance and reassurance every step of the way. To anyone grappling with devastating financial fraud, I offer a lifeline of hope – trust in Lee Ultimate Hacker to guide you through the storm with expertise and compassion. In a world rife with deception and uncertainty, they stand as a beacon of reliability and trustworthiness, ready to lead you toward financial restitution and a brighter future. If you find yourself in a similar predicament, do not hesitate to reach out to Lee Ultimate Hacker.AT LEEULTIMATEHACKER@ AOL. COM   Support @ leeultimatehacker . com.  telegram:LEEULTIMATE   wh@tsapp +1  (715) 314  -  9248  https://leeultimatehacker.com
    • Sorry, this is the report https://paste.ee/p/OeDj1
    • Please share a link to your crash report on https://paste.ee, as explained in the FAQ
    • This is the crash report [User dumped their crash report directly in their thread, triggering the anti-spam]  
    • Add the crash-report or latest.log (logs-folder) with sites like https://paste.ee/ and paste the link to it here  
  • Topics

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.