Endermen picking up blocks don't count towards the mob cap, and don't despawn, potentially cluttering up the world with endermen if they cannot place the block down. This can especially be observed in warped forests, as well as in a custom setups in an area with blocks endermen cannot replace (like item frames).
To reproduce, set the world border to 128, go into the Nether, reach the ceiling, place tnt floating 1 block above the bedrock (so endermen can't walk on top of it), and spawn endermen. When the endermen pick up the tnt, they will be stuck forever. (note: the world border only serves to confine the endermen within an observable area; it still works without the world border)
Linked issues
is duplicated by 8
relates to 3
Attachments
Comments 33
They do also spawn quite frequently in that biome, do you have any specific proof that they do not despawn?
I have a fairly low-end PC so it would be difficult for me to record my screen, but I can share some steps to recreate:
1. Isolate a naturally spawning endermen that has picked up a block with a minecart or boat
2. move away at least 128 blocks
3. The endermen will remain there, and will no longer count towards the mob cap, allowing more endermen to spawn.
This is only prominent in warped forest biomes as they spawn frequently and there is an abundance of blocks they can pick up and does not occur elsewhere.
Living in a Warped Forest for the past two weeks, I did very much feel stressed out by the endermen only after updating to 1.16.1 yesterday
So I recorded this video with my camera account while no players were logged in, and sure enough, I can't despawn the endermen holding things
Affects 1.20.4.
Endermen holding blocks grew to such a problem in my world that in a warped forest I visit frequently I had several hundred of them consuming over 50% of the tick processing time (about 950 entities, 800 of them endermen) and my logs were getting spammed with "Can't keep up!" messages. I had to switch to Peaceful to get rid of them and restore adequate performance.
I can confirm this in 1.20.5 Release Candidate 2. I would like to request ownership of this issue for two reasons;
1. the original reporter has not been active on Mojira since the creation of this issue, aside from 1 comment on this report. While that hasn't caused much harm considering the report has been relatively kept up with on it's affected versions, I see it valuable to have a reporter that can keep it up to date.
2. The description I argue can be improved and clarified, or at least have cleaner formatting. I'd like to create a new set of steps to reproduce which further outline the behavior this bug causes.
Confirmed in 1.21.7.
I think part of the issue is that the game hardcodes that enderman holding blocks won’t despawn. Like the PersistenceRequired tag doesn’t change at all between them picking up and placing down blocks. It should just function like nametags where adding a nametag to a mob changes PersistenceRequired to true. So I can’t even do anything about this by making a plugin on paper because the game hard codes it.
In terms of performance impact, enderman picking up blocks are a huge issue. What often happens is that,
Enderman spawn at night on the surface
They then pickup a block in a place where they can
Then it becomes day or rains and they tp underground
If they tp to place underground where they cant place blocks they will effectively be stuck forever.
This is a huge issue with servers that have claims plugins which block the modification of blocks in certain areas. Enderman just pile up underneath each claim overtime basically. This also applies to the vanilla spawn protection as well I am pretty sure.
Unless this is a performance issue, I don't really see how this is a bug.
Please attach a debug report using
/debug
while in the warped forest. To create and attach a debug report, see https://minecraft.gamepedia.com/Commands/debug