Mojira Archive
MC-124812

Endermen holding a block can despawn

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

Fixed

Connor Steppie

Marcono1234

[Mojang] Cory Scheviak

2018-02-05, 01:36 PM

2024-05-26, 05:48 PM

2020-05-28, 03:54 PM

9

4

Confirmed

(Unassigned)

despawning, enderman

Minecraft 1.12.2 - 20w12aMinecraft 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

20w22a