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

Endermen holding a block can despawn


    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w22a
    • 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, 1.15.1, 1.15.2 Pre-Release 1, 1.15.2 Pre-release 2, 20w06a, 20w07a, 20w08a, 20w09a, 20w10a, 20w11a, 20w12a
    • Confirmed
    • (Unassigned)

      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

            cojomax99 [Mojang] Cory Scheviak
            Awesoman3000 Connor Steppie
            9 Vote for this issue
            4 Start watching this issue