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

Piglin admiring held gold ingot drops it when killed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • 20w09a
    • 20w07a
    • None
    • Confirmed
    • Entities, Mob behaviour

      The bug

      As shown here: Costless Bartering In Snapshot 20w07a

      When bartering with a piglin it instantly throws the result but then continues to admire the gold ingot. However when it is killed while admiring the gold ingot, the ingot is dropped, therefore allowing bartering without actually paying anything.

      How to reproduce

      1. Summon a piglin with low health
        /summon piglin ~ ~ ~ {Health:0.1f}
        
      2. Right click it with a gold ingot
        It throws an item at you
      3. Kill it while it is still admiring the gold ingot
        It drops the gold ingot

            hkniberg hkniberg
            marcono1234 [Mod] Marcono1234
            Votes:
            10 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:
              CHK: