-
Bug
-
Resolution: Works As Intended
-
None
-
1.17, 1.17.1 Pre-release 2, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1
-
None
-
Confirmed
-
(Unassigned)
The bug
If you kill a wandering trader while it is drinking an invisibility potion or a milk bucket, it has an 8.5% chance to drop the held item. (The chance increases with the looting enchantment.)
To reproduce
/give @p minecraft:emerald{Enchantments:[{lvl:255s,id:"minecraft:looting"},{lvl:255s,id:"minecraft:sharpness"}]}
/time set night
/summon minecraft:wandering_trader
- Punch the wandering trader with the emerald while it is drinking the invisibility potion. The invisibility potion is dropped when the wandering trader dies.
/summon minecraft:wandering_trader
Wait for the new wandering trader to become invisible.
/time set day
- Punch the wandering trader with the emerald while it is drinking the milk bucket. The milk bucket is dropped when the wandering trader dies.