Mod Description format is incorrect

Started by crawfishy on

Topic category: Troubleshooting, bugs, and solutions

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Mod Description format is incorrect
Thu, 05/04/2023 - 04:19 (edited)

Using Mcreator 2023.2.
If I go into "Workspace settings" and set "Mod description" to "Display elytra durability"
Then open the JAR file, go into META-INF then open mods.toml file.

The description line is this:

description='''
Display elytra durability
'''
I know in this posting it is difficult to see, but there are three single quote marks after the = sign and then three single quote marks on the the last line.

This causes Minecraft/Forge to display the description as Display elytra durability [CR]

The proper format in the mods.toml file should use the double quote mark with all data on one single line:
description="Display elytra durability"

 

Edited by crawfishy on Thu, 05/04/2023 - 04:19
Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Bump... Would be nice to get…
Wed, 05/10/2023 - 21:52

Bump...

Would be nice to get a reply from developer so I know I didn't waste my time reporting this...

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The way descriptions are is…
Thu, 05/11/2023 - 00:59

The way descriptions are is correct. This is how they should be made. Minecraft Forge uses this format in their mod example.

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Three single quote marks????…
Thu, 05/11/2023 - 05:47

Three single quote marks???? 

Maybe that's true but it still displays incorrectly in minecraft.

Just look at all the other lines in the mods.toml file... Why would the Description line be any different than all the others?

If I manually edit the Description line in the mods.toml file so the description is properly set inside double quote marks then the mod description displays properly in minecraft. Why would I want [CR] to always appear after my mod description?

See screenshot: https://ibb.co/vJ8Jp2h

Joined Aug 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I'm not saying you're wrong…
Thu, 05/11/2023 - 18:35

I'm not saying you're wrong. I just said how things are.

Joined Sep 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
But did you look at the…
Fri, 05/12/2023 - 04:40

But did you look at the image? You see that it puts [CR] after the description in minecraft.