Endermen are not able to pick up any block which is not collidable, for instance flowers or mushrooms, even if those blocks have the enderman_holdable tag.
- Place mushrooms in a stone covered area
- Spawn a lot of endermen
Notice endermen are not able to pick up the mushrooms blocks.
The enderman_holdable tag is added to mushrooms and flowers. Before 1.13, the decompiled source code showed that they had to be able to pick up those blocks and they didn't either. And as I made a data pack that lets them only pick up tall grass, lilypads, and other non-collidable blocks, they just pick up nothing...
I assigned a data pack I made to test the expected behaviour. The following table shows the current behaviour.
|Block in data packs||Grab?|
|Any flower pot, with or without plant||No|
|The blocks below are in the vanilla data pack|
|Sand / red sand||Yes|
Eventually, it seems that endermen only pick up collidable blocks of which their shape contains the block-local coordinates [0.5, 0.5, 0.5].
In the MCP remapped source code, in the take-block AI, there is this:
As far as I know, endermen are able to pick up mushrooms, flowers and other non-solid blocks. I've seen them doing that in bedrock edition, but never in java edition. This is a problem that's confusing me for two years now, and it seems that it never showed up here...
Since endermen could pick up mushrooms, they should start grabbing the mushrooms. In bedrock/pocket edition, this is the case. But in java edition, they only grab the collidable blocks...