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

/data merge block on a chest causes java error in chat

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.14.3
    • None
    • Win10, Java 1.8.0_201, Optifine 1.14.3_HD_U_F1
    • Unconfirmed
    • (Unassigned)

      I attempted to change the display name of a single chest with

      /data merge block -20 56 14 {CustomName:"test"}

      Doing so resulted in the error "An unexpected error occurred trying to execute that command" being posted to chat, and hovering over it shows "com.google.gson.stream.MalformedJsonException: Use JsonReader.setLenient(true) to accept malformed JSON at like 1 column 1 path $"

      If the "test" is replace by " ", then the bug no longer occurs, with chat reporting that the command was successful, although the displayed name of the chest does not change.

      Renaming a chest in an anvil, however, will still change the name correctly.

      This bug occurs in both of the worlds that I tested it in.

            Unassigned Unassigned
            voidUpdate M mjbug Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: