mojira.dev
MC-298670

nbt-based text components do not work in dialog.

Steps to Reproduce

  1. Run the following command to set a storage value
    /data modify storage test text set value {text:"message from storage"}
    /data modify storage test text2 set value {text:"another message from storage"}

  2. Create a dialog file with the following content
    dialog/test.json

  3. Use the following command to open the dialog
    /dialog show @s test:test

Expected Result

The dialog should display the string "message from storage!" and "another message from storage" pulled from the specified storage

Actual Result

The dialog is not display stroage text, meaning the nbt-based text component is not evaluated properly.

Additional Information

  • The storage data exists and is accessible via /data get storage test text and /data get storage test text2.

  • The same storage reference works in /tellraw, /title, and other commands using text components.

Linked issues

Attachments

Comments 1

FocalSalt

(Unassigned)

Unconfirmed

(Unassigned)

1.21.6 Pre-Release 3

Retrieved