Merge pull request #58 from Cadiboo/patch-1
Fix multiline mod descriptions resulting in an invalid `fabric.mod.json`
This commit is contained in:
commit
74686cf664
|
|
@ -13,7 +13,7 @@ mod_author=Jared
|
||||||
mod_id=examplemod
|
mod_id=examplemod
|
||||||
license=CC0-1.0
|
license=CC0-1.0
|
||||||
credits=
|
credits=
|
||||||
description=The description of your mod. \nAccepts multilines.
|
description=The description of your mod. \\nAccepts multilines (but they must be double-escaped).
|
||||||
minecraft_version_range=[1.20.6, 1.21)
|
minecraft_version_range=[1.20.6, 1.21)
|
||||||
|
|
||||||
# Fabric
|
# Fabric
|
||||||
|
|
|
||||||
|
|
@ -11,7 +11,7 @@ displayName = "${mod_name}" #mandatory
|
||||||
logoFile="${mod_id}.png" #optional
|
logoFile="${mod_id}.png" #optional
|
||||||
credits="${credits}" #optional
|
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 = "${mod_id}.mixins.json"
|
config = "${mod_id}.mixins.json"
|
||||||
[[mixins]]
|
[[mixins]]
|
||||||
|
|
@ -33,4 +33,4 @@ side = "BOTH"
|
||||||
# that your mod requires GL version 3.2 or higher. Other features will be added. They are side aware so declaring this won't
|
# 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.
|
# stop your mod loading on the server for example.
|
||||||
#[features.${mod_id}]
|
#[features.${mod_id}]
|
||||||
#openGLVersion="[3.2,)"
|
#openGLVersion="[3.2,)"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user