mojira.dev
MC-179883

Raw JSON text duplicates components in "extra" in entity names

How to reproduce

  1. Summon a pig with the following command

    /summon minecraft:pig ~ ~ ~ {CustomNameVisible:1b,NoAI:1b,CustomName:'["a","b"]'}
  2. ❌ A pig with the name abb is summoned while you would expect the name to be ab

Linked issues

Comments 1

/summon pig ~ ~ ~ {CustomNameVisible:1b,NoAI:1b,CustomName:'["a","b",["c",["d",["e",["f",["g","h","i"]]]]]]'}

Expected: "abcdefjhi"
Got: "abcdefghibcdefghidefghiefghiefghighihi"

Yup, JSON parser is broken

Misode

boq

Confirmed

Normal

Data Packs

20w17a

20w18a

Retrieved