mojira.dev
MC-196570

Piglins with admiring_disabled pick up gold items from the ground

Despite the fact piglins will no longer accept ingots from right clicking, nor they will get distracted by it, they will still pick gold ingots (and any gold item) from the ground if they happen to come across it. (and barter an item in exchange)

  • To quickly reproduce spawn a piglin with the following:

/summon piglin ~ ~ ~ {Brain:{memories: {"minecraft:admiring_disabled": {value: 1b, ttl: 5000L}}}}
  • Drop a gold related item at the piglin's position.

Linked issues

Comments 3

admiring_disabled does not set CanPickUpLoot to false - why would it?

This is not about picking items off the ground, but about admiring gold items. Piglins with admiring_disabled will not accept right click bartering and will not pursue gold from the ground. However it seems despite this if they come across a gold item on the ground by chance they pick it up, admire it, and barter with it, which goes against the name of the "admiring_disabled" tag.

This strongly suggests that this is a bug or oversight with their AI. Also, CanPickUpLoot would still allow them to equip non gold armours.

Ozone

(Unassigned)

Community Consensus

(Unassigned)

1.16.1, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Pre-release 3, 1.16.2 Release Candidate 2

Retrieved