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

setblock replace not working for mob_spawners

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Duplicate
    • Affects Version/s: Minecraft 1.12
    • Fix Version/s: None
    • Labels:
      None
    • Confirmation Status:
      Unconfirmed

      Description

      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

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: