When I try to replace air blocks in an area with beacon blocks with this command:
"/fill ~1 ~ ~ ~-1 ~-1 ~ minecraft:beacon 0 replace minecraft:air"
I get this error: "Data tag parsing failed: Invalid tag encountered, expected '{' as first char."
The command works with other materials:
"/fill ~1 ~ ~ ~-1 ~-1 ~ minecraft:glass 0 replace minecraft:air"
for exemple.
Replacing minecraft:beacon with a different material works and placing beacon blocks without replacing any material works too.
Linked issues
Comments


Is this still a concern in the current Minecraft version? If so, please update the affected versions in order to best aid Mojang ensuring bugs are still valid in the latest releases/pre-releases. If this has been done, we can reopen the issue.
Keep in mind that the "Resolved"-Status on this ticket just means "Answered", and that we are waiting for further information on whether this issue still exists or not. We will reopen it as soon as the requested information has been delivered.
I'm on 1.11.2. and I'm still having this issue. Should I create a new ticket to update the version number?
Yes.
New issue created: MC-112237 to re-open this case. Thanks RedstoneHelper.
Removed link as system put one in.

Duplicate of MC-61864; beacons are tile entities.
Confirmed for 14w34b
Note:
/fill works, but /fill replace give an error
Data tag parsing failed. Invalid tag encountered, expected '{' as first char.