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

Chests dropped by donkeys, mules and llamas do not retain their properties from when originally equipped

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 25w04a
    • None
    • Community Consensus
    • Items
    • Low
    • Platform

      The bug

      If a chest with a custom name or other important component data is equipped on a donkey, mule or llama, and then said donkey, mule or llama dies, a normal chest will be dropped with none of the properties of the chest that was actually equipped.

      This issue also affected saddles until 25w03a, in which this problem was fixed. It still affecting chests is a bad thing.

      How to reproduce

      1. Give a chest a name
      2. Equip it on a donkey
      3. Kill the donkey

      Expected results

      When you get the chest back, it has a name.

      Actual results

      This chest has no name.

      How to fix

      Make chests classified as a type of "equipment": instead of toggling a boolean, using a chest on one of these animals would place the chest item in an invisible "chest slot". This way, when the animal dies, instead of dropping "a chest" it drops the item in its chest slot, complete with all its associated data.

      This would also fix the issues MC-224886, MC-279508 and MC-279564.

        1. 2025-01-22_14.54.09.png
          2025-01-22_14.54.09.png
          270 kB
        2. 2025-01-22_14.54.16.png
          2025-01-22_14.54.16.png
          558 kB
        3. 2025-01-22_14.54.33.png
          2025-01-22_14.54.33.png
          425 kB
        4. 2025-01-22_14.54.35.png
          2025-01-22_14.54.35.png
          253 kB

            Unassigned Unassigned
            muzikbike Connor Steppie
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              CHK: