Using Commas, and other methods, isn´t creating Line Breaks in Text.

Started by Mouritoes on

Topic category: Help with Minecraft modding (Java Edition)

Joined Dec 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Using Commas, and other methods, isn´t creating Line Breaks in Text.

What the title says. I´m trying to make a potion item that displays it´s effects in it´s tooltip.

From what i could gather, I´m supposed to use commas, or even the weird "\", however, this isn´t working for me.

I know that in the recent update we can easily create new line entries, but those are fixed and not NBT Text tags, which is what I´m trying to display.

Does anyone know any workaround, or why this is happening to me?

 

Images:

https://ibb.co/sHgn3nK

https://ibb.co/ZBFLz8s

https://ibb.co/92B0V8n

https://ibb.co/HzBFgrf

 

If you need a link to my workspace, let me know!

 

 

Joined Feb 2016
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I also need help for this…
Wed, 01/03/2024 - 22:17

I also need help for this. The comma only seems to work on the tooltip editor from the static text on items, but i cannot make line breaks on a text-returning procedure. I have a procedure that returns a "create text" block that has multiple text, but it merges them all into a single line and i don't want that, i wanna add line breaks on the localization (Or in the blockly editor if possible) But i don't know how that is achieved. I hope this gets a response soon :c

Joined Sep 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
I found a way to make it…
Tue, 09/17/2024 - 02:21

I found a way to make it work, you can open the code editor and put the \n at the end of the line that you want to break, after that you need to lock the mod element.

Joined Aug 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Hi! I tried this solution…
Tue, 09/17/2024 - 21:25

Hi! I tried this solution but when I did it it would show the "LF" symbol instead of making a new line. Not sure what I did wrong nor do I know exactly where to put the \n. Any advice would be great.