mojira.dev
MC-230696

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

  1. /give @p minecraft:emerald{Enchantments:[{lvl:255s,id:"minecraft:looting"},{lvl:255s,id:"minecraft:sharpness"}]}
  2. /time set night
  3. /summon minecraft:wandering_trader
  4. Punch the wandering trader with the emerald while it is drinking the invisibility potion. The invisibility potion is dropped when the wandering trader dies. ❌

  5. /summon minecraft:wandering_trader

    Wait for the new wandering trader to become invisible.

  6. /time set day
  7. Punch the wandering trader with the emerald while it is drinking the milk bucket. The milk bucket is dropped when the wandering trader dies. ❌

Attachments

Comments 1

I originally expected both MC-229441 and the behavior described in this report to be intended. Since Mojang decided that MC-229441 was not intended, I decided to report this behavior so that Mojang can decide whether or not this behavior is intended. I'm not very knowledgeable about the spawning mechanics of wandering traders, but it seems plausible that the behavior described in this report could be used to create an AFKable invisibility potion farm. (The farm would be very slow, though.)

pine1needle

(Unassigned)

Confirmed

(Unassigned)

1.17, 1.17.1 Pre-release 2, 1.17.1 Pre-release 3, 1.17.1 Release Candidate 1

Retrieved