Mojira Archive
MC-48114

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

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.

Duplicate

GrmpfhcGames

2014-02-09, 09:54 PM

2015-01-16, 01:39 AM

2015-01-16, 01:39 AM

11

10

Confirmed

Minecraft 14w06b - Minecraft 1.8.2-pre1Minecraft 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

-