Page 4

3.2 - Modifying The Metadata

But Now I Want To Know How To Edit The Mod Metadata How Do I Do That?

First You'll Have To Learn The Manifest Files Of Each Supported Modloader

The Forge Mod Loader Mod Manifest File Is mods.toml This Is Our mods.toml File:

mods.toml

modLoader = 'lowcodefml'
loaderVersion = '[40,)'
license = 'MIT'
showAsResourcePack = false
mods = [
	{ modId = 'recycling', version = '0.0.7-alpha', displayName = 'Recycling', description = 'A Mod That Adds Some Recipes To Recycle', logoFile = 'recycling_pack.png', updateJSONURL = 'https://github.com/DEMnetwork/Recycling/raw/main/update.json', credits = '  ', authors = 'DEMnetwork', displayURL = 'https://modrinth.com/datapack/recycling' },
]
issueTrackerURL = 'https://github.com/DEMnetwork/Recycling/issues'

That Manifest File Contains The Mod`s Metadata Such As:

  • Display Name

  • Mod ID

  • Authors

  • Issue Tracker

  • License

  • And More

And That FIle Is Important Without That File It Will Not Load The Mod!

Our First Conclusion That's Without A Manifest File The Modloader Won't Load The Mod

Before Editing Make Sure You Have An Copy Of The Mod

3.2.1 - How To Edit Metadata

Step 1 - Extract The Mod: To Extract The mod You Can Use Softwares Like: 7-zip

After You Have Extracted The Files.

You'll View The Following Files:

Files That You'll View

Step 2 - Edit The Metadata Files:

This Step Varies Acording To The Modloader

Some Fields Are Critical So Any Change At That Fields May Make The Mod Broken. Fields That Aren't Critical: - modId - version - description - logoFile - updateJSONURL - And more

How To Modify The File

The FIle Is Located At META-INF/mods.toml

Open A Code Editor(Such As IntelliJ IDEA, VS Code, Eclipse, Or Any other). For Example i`ll Use VS Code

Example

Then After Editing The Code You Can Make An Zip File

Make An Zip File

Then Copy The Files

Copying The Files

Then Paste In The Your Zip File

Pasting The Files

Rename Change The File Extension From .zip To .jar

Renaming The Zip File
File After Renamed

Now Move To The %appdata%/.minecraft/mods/

Moving To Mods Folder

Congratulations!!! You've Modified The Mod!!!

Last updated

Was this helpful?