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

BlockEntityTag doesn't work on Monster Spawners upon placed down in Survival Mode

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • None
    • 1.14.4
    • None
    • Unconfirmed
    • (Unassigned)

      Using this command you'll be able to get a monster spawner that is spawning Skeletons when you place it down.

      /give @p minecraft:spawner{BlockEntityTag:{SpawnPotentials:[{Entity:

      {id:"minecraft:skeleton"}

      ,Weight:1}],SpawnData:{id:"minecraft:skeleton"}}}

      The problem here is:

       - The monster spawner, when you place it down in Creative mode, it works perfectally fine. However, when you placed said monster spawner in Survival Mode, the BlockEntityTag for that monster spawner isn't saved, and it reverts to a Pig Spawner (aka default spawner) instead. Please fix this issue as it is very vital to datapack creators who would wish to use this for a datapack that they're working on.

       

            Unassigned Unassigned
            TheDiamondPlayables Lando Calrissian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: