mojira.dev
MC-119249

setblock replace not working for mob_spawners

Place this in a command block and activate:

setblock ~ ~1 ~ mob_spawner 0 replace {SpawnData:{id:"minecraft:creeper"}}

Alter the type of mob, and the command results in "The block couldn't be placed"

NOTE:
setblock destroy DOES work, just not replace

Related issues

Comments

[Mod] Neko

Thank you for your report!
However, this issue has been closed as a Duplicate of MC-117574.

It has been linked to this report. If you have additional information, please add it to the duplicated report.
Please search before reporting, as it's likely that one exists already.

Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki

qmagnet

(Unassigned)

Unconfirmed

Minecraft 1.12

Retrieved