From 14e0fca1edb181c04cb3ce4820dd5f14881f8451 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 27 Feb 2021 17:23:17 -0600 Subject: [PATCH] Update and improve meta info files --- src/main/resources/META-INF/mods.toml | 66 +++++++++++++++------------ src/main/resources/mcmod.info | 4 +- 2 files changed, 40 insertions(+), 30 deletions(-) diff --git a/src/main/resources/META-INF/mods.toml b/src/main/resources/META-INF/mods.toml index 851bbcdac..f19bfd76c 100644 --- a/src/main/resources/META-INF/mods.toml +++ b/src/main/resources/META-INF/mods.toml @@ -1,40 +1,50 @@ -# This is an example mods.toml file. It contains the data relating to the loading mods. -# There are several mandatory fields (#mandatory), and many more that are optional (#optional). -# The overall format is standard TOML format, v0.5.0. -# Note that there are a couple of TOML lists in this file. -# Find more information on toml format here: https://github.com/toml-lang/toml -# The name of the mod loader type to load - for regular FML @Mod mods it should be javafml +#// This is an example mods.toml file. It contains the data relating to the loading mods. +#// There are several mandatory fields (#mandatory), and many more that are optional (#optional). +#// The overall format is standard TOML format, v0.5.0. +#// Note that there are a couple of TOML lists in this file. +#// Find more information on toml format here: https://github.com/toml-lang/toml +#// 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 + +#// A version range to match for said mod loader - for regular FML @Mod it will be the forge version loaderVersion="[35,)" #mandatory This is typically bumped every Minecraft version by Forge. See our download page for lists of versions. -# The license for you mod. This is mandatory metadata and allows for easier comprehension of your redistributive properties. -# Review your options at https://choosealicense.com/. All rights reserved is the default copyright stance, and is thus the default here. + +#// The license for you mod. This is mandatory metadata and allows for easier comprehension of your redistributive properties. +#// Review your options at https://choosealicense.com/. All rights reserved is the default copyright stance, and is thus the default here. license="All rights reserved" -# A URL to refer people to when problems occur with this mod -#issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional -# A list of mods - how many allowed here is determined by the individual mod loader + +#// A URL to refer people to when problems occur with this mod +#//issueTrackerURL="https://change.me.to.your.issue.tracker.example.invalid/" #optional +#// A list of mods - how many allowed here is determined by the individual mod loader [[mods]] #mandatory -# The modid of the mod + +#// The modid of the mod modId="lod" #mandatory -# The version number of the mod - there's a few well known ${} variables useable here or just hardcode it -# ${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata -# see the associated build.gradle script for how to populate this completely automatically during a build + +#// The version number of the mod - there's a few well known ${} variables useable here or just hardcode it +#//${file.jarVersion} will substitute the value of the Implementation-Version as read from the mod's JAR file metadata +#// see the associated build.gradle script for how to populate this completely automatically during a build version="${file.jarVersion}" #mandatory - # A display name for the mod + +#// A display name for the mod displayName="Levels of Detail" #mandatory -# A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/ -#updateJSONURL="https://change.me.example.invalid/updates.json" #optional -# A URL for the "homepage" for this mod, displayed in the mod UI -#displayURL="https://change.me.to.your.mods.homepage.example.invalid/" #optional -# A file name (in the root of the mod JAR) containing a logo for display -#logoFile="examplemod.png" #optional -# A text field displayed in the mod UI -#credits="" #optional +#// A URL to query for updates for this mod. See the JSON update specification https://mcforge.readthedocs.io/en/latest/gettingstarted/autoupdate/ +#//updateJSONURL="https://change.me.example.invalid/updates.json" #optional -# A text field displayed in the mod UI +#// A URL for the "homepage" for this mod, displayed in the mod UI +#//displayURL="https://change.me.to.your.mods.homepage.example.invalid/" #optional + +#// A file name (in the root of the mod JAR) containing a logo for display +#//logoFile="examplemod.png" #optional + +#// A text field displayed in the mod UI +credits="TechnoVision, Vike, and Darkhax for their modding tutorials." #optional + +#// A text field displayed in the mod UI authors="James Seibel" #optional -# The description text for the mod (multi line!) (#mandatory) -description=''' +#// The description text for the mod (multi line!) (#mandatory) +description=''' +This mod generates and renders simplified chunks beyond the normal view distance, at a low performance cost. ''' \ No newline at end of file diff --git a/src/main/resources/mcmod.info b/src/main/resources/mcmod.info index 9a3715271..3974555fc 100644 --- a/src/main/resources/mcmod.info +++ b/src/main/resources/mcmod.info @@ -3,12 +3,12 @@ "modid": "lod", "name": "Level Of Details", "description": "Generates and renders simplified chunks beyond the normal view distance, at a low performance cost.", - "version": "0.1", + "version": "1.0", "mcversion": "1.16.4", "url": "", "updateUrl": "", "authorList": ["James Seibel"], - "credits": "TechnoVision and Vike for their modding tutorials.", + "credits": "TechnoVision, Vike, and Darkhax for their modding tutorials.", "logoFile": "", "screenshots": [], "dependencies": []