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

The entity data of spawner get lost when player far away from it

    XMLWordPrintable

Details

    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Minecraft 1.13, Minecraft 1.13.2, Minecraft 18w47a, Minecraft 18w47b, 1.14.4, 1.15 Pre-release 6, 1.15, 1.15.1 Pre-release 1, 1.16.5, 21w15a
    • None
    • None
    • Confirmed
    • (Unassigned)

    Description

      The bug

      I placed a drowned spawner with drowned spawn egg and command,then I changed the data of drowned made the spawner spawn a drowned with a trident by using "data" command. But when I far away from the spawner and return, the data of spawner got lost and it spawn normal drowned.

      How to reproduce

      1. Place a spawner
        /setblock ~ ~ ~ spawner
        
      2. Right click this spawner with a drowned spawn egg
      3. Use this command to change the spawned drowned by this spawner
        /data merge block x y z {SpawnData:{HandItems:[{id:"trident",Count:1},{}]}}
        

        It will spawn drowned holding a trident

      4. Move far away from this spawner
      5. Go back to the spawner
        It will spawn empty-handed drowned, not drowned holding a trident

      Note: it won't happene if I use this command directly:

      /setblock ~ ~ ~ spawner{SpawnData:{id:"drowned",HandItems:[{id:"trident",Count:1},{}]}} 

      Attachments

        Activity

          People

            Unassigned Unassigned
            BLack_Tea_RGO BLack_Tea_RGO
            Votes:
            4 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              CHK: