mojira.dev
MC-150589

Villagers still hold a trade offer in their hand if the player is in spectator mode

The bug

When a player switches into spectator mode while standing in front of a villager and holding an item that this villager wants to trade, the villager will keep the item equipped for a while.

To reproduce

  1. Stand in front of a villager that has available trades

  2. Hold an item that the villager wants to trade (for example, emeralds)

  3. Switch into spectator mode
    β†’ ❌ The villager is still holding the item it wants to trade

Video

[media]

Related issues

Attachments

Comments

migrated
[media][media]
Avoma

Can confirm in 20w51a.

Avoma

Can confirm in 21w03a.

Avoma

Can confirm in 21w05a.

Avoma

Can confirm in 21w05b.

Avoma

Can confirm in 21w06a.

Avoma

Can confirm in 21w07a.

Avoma

Can confirm in 1.16.5 and 21w08b.

Avoma

Can confirm in 21w10a. Relates toΒ MC-194529.

Avoma

Can confirm in 1.17.

Avoma

Can confirm in 1.17.1.

Avoma

Can confirm in 1.18.1.

Avoma

Can confirm in 1.19 and 1.19.1 Pre-release 1.

Avoma

Can confirm in 1.19.2.

violine1101

(Unassigned)

Confirmed

Mob behaviour

game-mode-switch

Minecraft 1.14, 1.15 Pre-release 6, 1.15.1, 20w51a, 21w03a, ..., 1.19.1 Pre-release 1, 1.19.2, 1.19.4, 23w18a, 1.20.1

Retrieved