Skip to content

Commit 94d5510

Browse files
Update MDK with new output from mod generator
1 parent b71efcf commit 94d5510

File tree

3 files changed

+5
-9
lines changed

3 files changed

+5
-9
lines changed

build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,6 @@ var generateModMetadata = tasks.register("generateModMetadata", ProcessResources
146146
mod_name : mod_name,
147147
mod_license : mod_license,
148148
mod_version : mod_version,
149-
mod_authors : mod_authors,
150-
mod_description : mod_description
151149
]
152150
inputs.properties replaceProperties
153151
expand replaceProperties

gradle.properties

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,3 @@ mod_version=1.0.0
3535
# This should match the base package used for the mod sources.
3636
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
3737
mod_group_id=com.example.examplemod
38-
# The authors of the mod. This is a simple text string that is used for display purposes in the mod list.
39-
mod_authors=YourNameHere, OtherNameHere
40-
# The description of the mod. This is a simple multiline text string that is used for display purposes in the mod list.
41-
mod_description=Example mod description.\nNewline characters can be used and will be replaced properly.

src/main/templates/META-INF/neoforge.mods.toml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,11 +35,13 @@ displayName="${mod_name}" #mandatory
3535
# A text field displayed in the mod UI
3636
#credits="" #optional
3737

38-
# A text field displayed in the mod UI
39-
authors="${mod_authors}" #optional
38+
# The authors of the mod, displayed in the mod UI (optional)
39+
#authors=""
4040

4141
# The description text for the mod (multi line!) (#mandatory)
42-
description='''${mod_description}'''
42+
description='''
43+
Example mod description.
44+
'''
4345

4446
# The [[mixins]] block allows you to declare your mixin config to FML so that it gets loaded.
4547
#[[mixins]]

0 commit comments

Comments
 (0)