mojira.dev
MC-304731

1.21.10 JSON/Dialog Parser Issue – New Datapacks Fail

When creating new datapacks, mcfunction and JSON inputs are not processed correctly. Specifically, numbers (e.g., “2”) and some input fields are removed or cause parser errors. Previously created datapacks and older versions work correctly.

Steps to reproduce:

  1. Open Minecraft 1.21.10.

  2. Create a simple datapack (e.g., GULCEOS Dialog Manager).

  3. Add dialog inputs, ID, and JSON.

  4. Run /reload and /trigger commands.

Observed behavior:

  • Numbers disappear or JSON becomes invalid.

  • New datapacks do not work properly.

  • Older datapacks and previous versions work without issues.

Expected behavior:

  • JSON and dialog inputs should be processed correctly.

  • Dynamic inputs and numbers should not disappear.

Attachments / Logs:

  • Screenshots or console logs can be added.

  • Minimal mcfunction/JSON example:

data modify storage gulce:dialogs.test set value {name:"Test",json:{ "type":"minecraft:multi_action", "title":"Test", "actions":[{"label":"Test","action":{"type":"minecraft:run_command","command":"/say Test"}}]}}
data modify storage gulce:dialogs.test set value {name:"Test",json:{ "type":"minecraft:multi_action", "title":"Test", "actions":[{"label":"Test","action":{"type":"minecraft:run_command","command":"/say Test"}}]}}

Additional information:

  • No mods, completely vanilla.

  • Issue only appears with newly created datapacks.

Attachments

Comments 2

Please provide a single simple command that works differently in 1.21.10 compared to 1.21.9

The command you have provided in the description is invalid, as it’s missing the <targetPath> argument after gulce:dialogs.test. The data pack you have provided seems to load and work just fine in 1.21.10. Please attach a video of the issue you are experiencing.

This issue is being temporarily resolved as Awaiting Response. Once the requested information has been delivered, the report will be reopened automatically.

Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki

125674

(Unassigned)

Unconfirmed

(Unassigned)

1.21.10

Retrieved