Merge pull request #36 from MerchantPug/fix/modids
Replace examplemod with ${mod_id} in mod files.
This commit is contained in:
commit
25bcd220c5
|
|
@ -12,7 +12,7 @@
|
||||||
"sources": "https://github.com/FabricMC/fabric-example-mod"
|
"sources": "https://github.com/FabricMC/fabric-example-mod"
|
||||||
},
|
},
|
||||||
"license": "${license}",
|
"license": "${license}",
|
||||||
"icon": "assets/modid/${mod_id}.png",
|
"icon": "assets/${mod_id}/${mod_id}.png",
|
||||||
"environment": "*",
|
"environment": "*",
|
||||||
"entrypoints": {
|
"entrypoints": {
|
||||||
"main": [
|
"main": [
|
||||||
|
|
|
||||||
|
|
@ -13,16 +13,16 @@ credits="${credits}" #optional
|
||||||
authors = "${mod_author}" #optional
|
authors = "${mod_author}" #optional
|
||||||
description = '''${description}''' #mandatory (Supports multiline text)
|
description = '''${description}''' #mandatory (Supports multiline text)
|
||||||
[[mixins]]
|
[[mixins]]
|
||||||
config = "examplemod.mixins.json"
|
config = "${mod_id}.mixins.json"
|
||||||
[[mixins]]
|
[[mixins]]
|
||||||
config = "examplemod.neoforge.mixins.json"
|
config = "${mod_id}.neoforge.mixins.json"
|
||||||
[[dependencies.${ mod_id }]] #optional
|
[[dependencies.${mod_id}]] #optional
|
||||||
modId = "neoforge" #mandatory
|
modId = "neoforge" #mandatory
|
||||||
mandatory = true #mandatory
|
mandatory = true #mandatory
|
||||||
versionRange = "${neoforge_loader_version_range}" #mandatory
|
versionRange = "${neoforge_loader_version_range}" #mandatory
|
||||||
ordering = "NONE" # The order that this dependency should load in relation to your mod, required to be either 'BEFORE' or 'AFTER' if the dependency is not mandatory
|
ordering = "NONE" # The order that this dependency should load in relation to your mod, required to be either 'BEFORE' or 'AFTER' if the dependency is not mandatory
|
||||||
side = "BOTH" # Side this dependency is applied on - 'BOTH', 'CLIENT' or 'SERVER'
|
side = "BOTH" # Side this dependency is applied on - 'BOTH', 'CLIENT' or 'SERVER'
|
||||||
[[dependencies.${ mod_id }]]
|
[[dependencies.${mod_id}]]
|
||||||
modId = "minecraft"
|
modId = "minecraft"
|
||||||
mandatory = true
|
mandatory = true
|
||||||
versionRange = "${minecraft_version_range}"
|
versionRange = "${minecraft_version_range}"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user