Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-172530

Piglins indefinitely stand around dropped golden items if mobGriefing is disabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w11a
    • 20w07a, 20w09a, 20w10a
    • None
    • Confirmed
    • Mob behaviour
    • Important

      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.

            hkniberg hkniberg
            Sonicwave [Mod] Sonicwave
            Votes:
            9 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: