mojira.dev
MC-180054

Piglins drop their previous gold armor/weapon on the ground instead of keeping it away in their inventory

The bug

If a piglin switches its current tool/armor to an enchanted one, they'll drop their old item into the ground, and inspect their old weapon/armor again rather than putting it away in their inventory.

This works with piglins that already has gold armor/swords.

To reproduce

  1. Spawn piglin

  2. Give it an unenchanted golden tool/armor
    → ✔ The piglin inspect it and equips it

  3. Give the piglin an enchanted golden weapon/armor
    → ❌ The piglin drops the unenchanted gold armor/weapon into the ground, and then picks it up again, inspecting their old tool/armor and puts the item in their inventory.

Linked issues

Comments 0

No comments.

DrownedZombie

migrated

Confirmed

Normal

Mob behaviour

20w17a, 20w18a, 20w20a, 20w20b, 20w21a, 20w22a, 1.16 Pre-release 1, 1.16 Pre-release 2, 1.16 Pre-release 3

Retrieved