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

setblock replace not working for mob_spawners

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • Minecraft 1.12
    • None
    • Unconfirmed

      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

            Unassigned Unassigned
            qmagnet qmagnet
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: