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

Endermen holding a block can despawn

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 1.12.2, Minecraft 18w05a, Minecraft 1.13, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w03b, Minecraft 19w03c
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      The bug

      Endermen which picked up a block can despawn.

      Expected behavior

      When endermen pick up a block their PersistenceRequired tag should be set to 1b.

      Either the tag should then not be cleared anymore, or better there has to be a tag indicating that PersistenceRequired was set by the player and therefore should not be cleared once the enderman places the block again.

      How to reproduce

      1. Create a Superflat world.
      2. Set the time to night.
        /time set night
        
      3. Summon an enderman holding a stone block.
        /summon minecraft:enderman ~ ~ ~ {carriedBlockState:{Name:"minecraft:stone"}}
        
      4. Teleport away and then back to make sure they could despawn
        /teleport @s ~ ~ ~1000
        /teleport @s ~ ~ ~-1000
        

        The endermen holding blocks despawned as well

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marcono1234 [Mod] Marcono1234
              • Votes:
                5 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: