The bug
Endermen don't pick up respectively place complete multi-block blocks (e.g. doors, beds, double plants). Instead they only pick up one part (making the other parts break and potentially drop as item) and only place the part they are holding.
However, accoding to the following comment they should pick up the complete multi-block block (i.e. all parts) without making any of its parts drop an item, and respectively place the complete multi-block block again.
The bug here is that only half the bed gets placed when the enderman places it down.
Considerations
Endermen should make sure that there is enough space when placing blocks to not overwrite existing ones
The current NBT of endermen does not support multi-block blocks. If the NBT is changed it would be useful to still support blocks which do not exist in item-form (e.g. water, lava, portals, fire, ...).
Reproduction steps
Summon multiple endermen holding beds
/summon minecraft:enderman ~ ~ ~ {carriedBlockState:{Name:"red_bed",Properties:{part:head}}}
/summon minecraft:enderman ~ ~ ~ {carriedBlockState:{Name:"red_bed",Properties:{part:foot}}}
Wait until one of the endermen places a bed
❌ Only the respective part of the bed is placed
Linked issues
relates to 1
Attachments
Comments 3
In snapshot 24w14a, I was also unable to get the endermen to place the beds at all. I was also unable to observe the endermen naturally picking up the beds at all when adding a bed block to the enderman_holdable block tag.
Here is my datapack I used to test, please correct any errors it may include:
[media]
I couldn't get enderman to place beds at all, here are the results from summoning ~80 enderman with blue ice and the same number with beds and letting them run idle for a while:
[media](It's zoomed out so the enderman stop rendering but rest assured there are no beds there even though they would stop rendering too 😛)