-
Bug
-
Resolution: Unresolved
-
None
-
24w09a, 1.21, 24w33a, 1.21.1 Release Candidate 1, 1.21.1, 24w34a, 24w35a, 24w36a, 24w37a, 24w38a, 24w39a
-
None
-
Community Consensus
-
Mob behaviour
-
Important
-
Platform
The Bug
Introduced in 24w09a.
Mobs with CanPickUpLoot do not drop an item they are holding/wearing for an enchanted item, unlike pre-1.20.5 behavior. For example, a zombie will not drop a netherite sword for a netherite sword enchanted with Sharpness V. This also occurs with armor.
Steps to Reproduce
- Summon a husk that can pick up loot:
/summon minecraft:husk ~ ~ ~ {CanPickUpLoot:1b}
- Throw the husk a sword.
- Once the husk has picked up the sword, throw it a sword (of the same type) enchanted with Sharpness V.
- Note how the husk does not pick up the enchanted sword. 1.21.mp4
- Attempting this in 1.20.4 shows the correct behavior, where the husk prefers the enchanted sword to the unenchanted sword. 1.20.4.mp4