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

Blockdata cannot copy over quotations to new Block

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.12
    • None
    • Windows 10 Home, Version 1703, OS Build 15063.413, 64x

      Java Version 8 Update 131 (build 1.8.0_131-b11), 32-bit
    • Unconfirmed

      I'm trying to use this command here, to simply get an item with a two word name, which works fine:

      /give @p bow 1 0 {display:{Name:"my bow"}}

      However, when trying to use another command block with /blockdata to insert that command into another block, I get an error.

      /blockdata ~ ~2 ~ {Command:"/give @p bow 1 0 {display:{Name:"my bow"}}"}

      This is the command I have, which will then give the following error:

      [00:47:00] Data tag parsing failed: Expected '}' but got 'm' at: ..."/give @p bow 1 0 {display:{Name:"m<--[HERE]

      Removing the quotations around the custom name will allow /blockdata to work, but the block to give you the bow will not.

      Making the item's name only one word has been only solution thus far.

      From the looks of it, 1.12's new error handling cannot handle double quotation marks anymore, because this command did work in 1.11.2

            Unassigned Unassigned
            Toadbert Nathan Honsberger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: