Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-279255

SNBT text componets prevents editing lines of a sign without rewriting all other lines as compound tags at the same time

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 25w02a
    • None
    • Unconfirmed
    • (Unassigned)

      Reproduce

      1. Place a sign (doesn't matter if you type something)
      2.

      /data modify block <pos> front_text.messages[0] set value {text: "test", bold: true}
      

      Expected

      The sign has the text "test" in bold on the first line.

      Observed

      Error message "Nothing changed. The specified properties already have these values".

      More info

      This is the only way to do the same thing, but it will override any existing text:

      /data modify block -262 64 2 front_text.messages set value [{text: "test", bold: true},{text:""},{text:""},{text:""}]
      

      A more complicated setup with a macro that has arguments for the existing text could in theory be used.

            Unassigned Unassigned
            Schortan [Mod] NeunEinser
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: