Removed the need for template files. Replaced logo file with png as jpg seems to not work with NeoForge.
This commit is contained in:
44
src/main/resources/META-INF/neoforge.mods.toml
Normal file
44
src/main/resources/META-INF/neoforge.mods.toml
Normal file
@ -0,0 +1,44 @@
|
||||
modLoader = "javafml"
|
||||
loaderVersion = "${loader_version_range}"
|
||||
license = "${mod_license}"
|
||||
issueTrackerURL = "https://gitea.micle.dev/minecraft-mods/totem_of_reviving/issues"
|
||||
|
||||
[[mods]]
|
||||
modId = "${mod_id}"
|
||||
version = "${mod_version}"
|
||||
displayName = "${mod_name}"
|
||||
#updateJSONURL = "http://myurl.me/"
|
||||
#displayURL = "http://example.com/"
|
||||
logoFile = "logo.png"
|
||||
#credits = ""
|
||||
authors = "${mod_authors}"
|
||||
description = '''${mod_description}'''
|
||||
|
||||
#[[mixins]]
|
||||
#config = "${mod_id}.mixins.json"
|
||||
|
||||
#[[accessTransformers]]
|
||||
#file = "META-INF/accesstransformer.cfg"
|
||||
|
||||
[[dependencies."${mod_id}"]]
|
||||
modId = "neoforge"
|
||||
# The type of the dependency. Can be one of "required", "optional", "incompatible" or "discouraged" (case insensitive).
|
||||
# 'required' requires the mod to exist, 'optional' does not
|
||||
# 'incompatible' will prevent the game from loading when the mod exists, and 'discouraged' will show a warning
|
||||
type = "required"
|
||||
versionRange = "${neo_version_range}"
|
||||
ordering = "NONE" # BEFORE, AFTER, NONE
|
||||
side = "BOTH" # BOTH, CLIENT, SERVER
|
||||
|
||||
[[dependencies."${mod_id}"]]
|
||||
modId = "minecraft"
|
||||
type = "required"
|
||||
versionRange = "${minecraft_version_range}"
|
||||
ordering = "NONE"
|
||||
side = "BOTH"
|
||||
|
||||
# Features are specific properties of the game environment, that you may want to declare you require. This example declares
|
||||
# that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't
|
||||
# stop your mod loading on the server for example.
|
||||
#[features.${mod_id}]
|
||||
#openGLVersion = "[3.2,)"
|
||||
Reference in New Issue
Block a user