This is without a doubt due to potted plants not having an assigned item due to 1.13's refactoring, but this behaviour seems very wrong. Although endermen drop empty flower pots when killed, they drop neither the pot nor the plant when killed while holding a potted plant.
Steps to reproduce
/summon minecraft:enderman ~ ~ ~ {carriedBlockState:{Name:potted_bamboo}}
Kill it
→ ❌ no pots or bamboo are dropped/summon minecraft:enderman ~ ~ ~ {carriedBlockState:{Name:flower_pot}}
Kill it
-> ✔ The pot is dropped
Expected Result
The expected behavior would be that endermen holding potted plants would drop the plant and the pot upon being killed.
Attachments
Comments 7
potted_bamboo
Does not have an item form, so I would expect it to drop its equivalent item (flower pot). Relates to MC-206448.
I can confirm this behavior in both 1.17.1 and 21w37a. Here is some additional information regarding this issue.
The Bug:
Endermen holding potted plants do not drop the plant or the pot upon being killed.
Steps to Reproduce:
Summon an enderman that is holding a potted plant.
/summon minecraft:enderman ~ ~ ~ {NoAI:1b,Silent:1b,Health:1f,carriedBlockState:{Name:potted_bamboo}}
Kill it.
→ ❌ Notice how endermen holding potted plants do not drop the plant or the pot upon being killed.
Expected Behavior:
The expected behavior would be that endermen holding potted plants would drop the plant and the pot upon being killed.
Can confirm.