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

Offhand and armour items are not included in Allay Loot Table

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Invalid
    • None
    • 1.19.2, 22w45a
    • None
    • Unconfirmed
    • (Unassigned)

      After having armour or offhand items equipped using commands, Allay's do not drop them on death.

      MC-249715 was resolved properly, and they drop handheld items (something which is obviously possible to trigger in vanilla survival).

      MC-249830 may be an impact of this. If this should be moved onto that bug report please comment as such.

      However items in other slots (only possible with commands) are never dropped on death. Offhand items are even rendered, but not dropped on death.

      Steps for Replication:
      /summon minecraft:allay ~ ~ ~

      {NoAI:1b}

      /item replace entity @e[type=minecraft:allay,limit=1] weapon.offhand with minecraft:emerald
      kill Allay in creative or with /kill
      No Items will be dropped

        1. after.png
          after.png
          847 kB
        2. before.png
          before.png
          730 kB

            Unassigned Unassigned
            Bombs_Away_007 Bombsan
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: