-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mod info Manifest #199
Comments
Are you using hocon in your example? |
No, it's a snippet from |
NovaGradle will read the metadata in the
|
Sounds like a good plan. +1
|
We could also use a JSON file in the root directory (or in the META-INF directory) called {
"version": "1",
"mods": [{
"id": "mod_id",
"name": "Mod Name",
"version": "1.0",
"novaVersion": "0.1.0",
"description": "Description here.\nWith multi-line support.",
"logoFile": "/assets/mod_id/textures/logo.png",
"dependencies": [
"[email protected]",
"[email protected]"
],
"authors": ["Your name here"]
}]
} We could add additional information to the file later. |
We should have a manifest file for each mod, which allows external tools such as MultiMC to load metadata about the mod without reading class files.
This metadata should be passed on to forge etc. too, because there is currently no way to add a mod logo for example.
I think should encode this in
META-INF/MANIFEST.MF
, with NovaGradle encoding the data from the build file:The text was updated successfully, but these errors were encountered: