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

/fill and /setblock replace not working correctly with underscores.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 14w06b, Minecraft 14w08a, Minecraft 14w10c, Minecraft 14w11b, Minecraft 14w20b, Minecraft 14w21b, Minecraft 14w28b, Minecraft 14w30c, Minecraft 1.8, Minecraft 1.8.1-pre4, Minecraft 1.8.1, Minecraft 1.8.2-pre1
    • None
    • Windows 7
    • Confirmed

      When you're using /fill and you're replacing a specific block, you can't place a block with a name containing an underscore (_). In my case I was using this command:

      /fill 952 38 1021 894 43 1029 piston_extension 0 replace lapis_ore

      I got the following output: Data tag parsing failed: Unable to locate name/value separator for string: lapis_ore.

      The command did work after replacing "piston_extension" with something like glass or stone, but it also didn't work with blocks like gold_block.

        1. 2014-02-09_11.58.55.png
          115 kB
          Neospector
        2. 2014-02-09_11.59.00.png
          117 kB
          Neospector
        3. 2014-11-04_23.28.36.png
          191 kB
          entereloaded

            Unassigned Unassigned
            GrmpfhcGames GrmpfhcGames
            Votes:
            11 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: