mojira.dev
MC-172530

Piglins indefinitely stand around dropped golden items if mobGriefing is disabled

If gamerule mobGriefing is set to false, piglins will indefinitely stand around dropped gold ingots, ignoring nearby mobs such as wither skeletons and players not wearing gold armor or opening chests. If a piglin in this state gets attacked by the player, only the attacked piglin will respond.

This is contrasted with piglins continuing to attacking the player after picking up gold if mobGriefing is true, and all piglins normally turning hostile to attacking players. Zombies also ignore turtle eggs if mobGriefing is false, instead of attempting to stomp of them indefinitely.

To reproduce

  • Set /gamerule mobGriefing false

  • Travel to the Nether, since piglins turn into zombie pigmen if in the Overworld

  • Spawn several piglins, and change to survival mode without wearing any gold armor

  • Drop a gold item (e.g. Gold Ingot) on the ground.

  • Spawn wither skeletons nearby, open containers, break blocks of gold, or attack one of the piglins and observe their behavior.

Linked issues

Attachments

Comments 2

ryu3025

This also affects version 20w10a.

gaspoweredpick

Relates to MC-108254

Sonicwave

migrated

Confirmed

Important

Mob behaviour

20w07a, 20w09a, 20w10a

20w11a

Retrieved