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

"Oh Shiny" advancement does not work when the player is wearing gold armor

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.18.2, 22w12a, 22w14a, 22w15a, 22w16b, 22w17a, 1.19 Pre-release 1, 22w24a, 1.19.2, 23w04a, 1.19.4, 1.20 Release Candidate 1, 1.20, 1.20.1, 1.20.2, 1.20.4, 1.21.1
    • Confirmed
    • Advancements, Mob behaviour
    • Normal
    • Gameplay

      The bug

      The "Oh Shiny" advancement can only be triggered if the player does not wear gold armor. However, the description does not mention this, it says: "Distract Piglins with gold". The piglin can be aggressive towards the player for other reasons than not wearing gold (e.g. hitting it, breaking/opening a container, etc.).

      To reproduce

      1. Be in survival/adventure mode.
      2. /effect give @p minecraft:resistance 10000 100 true
      3. Wear a golden helmet.
      4. /give @p gold_ingot 64
      5. Place a chest.
      6. /summon minecraft:piglin ~ ~ ~ {IsImmuneToZombification:1b}
      7. Open the chest.
      8. Throw a gold ingot in the ground and wait for the piglin to pick it up.

      Observed result

      The advancement "Oh Shiny" is not granted, as it requires the player to not wear gold armor.

      Expected result

      The advancement should be granted, and not require the player to not wear gold armor, as there are numerous other ways to anger a piglin.

            Unassigned Unassigned
            ampolive [Mod] ampolive
            Votes:
            6 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: