You can steal invisibility potions & milk buckets from wandering traders by killing them
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.

2021-06-30, 05:54 AM
2021-07-06, 10:23 AM
2021-07-06, 10:23 AM
4
3
1.17, 1.17.1 Pre-release 2, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1
-