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

Projectiles (snowballs, etc) do not preserve item data if using the item depletes the stack

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: Minecraft 19w08b, Minecraft 19w09a, Minecraft 19w11a, Minecraft 19w11b, Minecraft 19w12a, Minecraft 19w12b, Minecraft 19w13a, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14 Pre-Release 1, Minecraft 1.14 Pre-Release 2, Minecraft 1.14 Pre-Release 4, Minecraft 1.14 Pre-Release 5, Minecraft 1.14, Minecraft 1.14.1 Pre-Release 1, Minecraft 1.14.1, Minecraft 1.14.2 Pre-Release 1, Minecraft 1.14.2 Pre-Release 2, Minecraft 1.14.2 Pre-Release 3, Minecraft 1.14.2 Pre-Release 4, Minecraft 1.14.2
    • Fix Version/s: None
    • Environment:

      Windows 10, Java Version 1.8.0_201-b09

    • Confirmation Status:
      Community Consensus
    • Game Mode:
      Survival
    • Category:
      Items

      Description

      Under most circumstances, throwing a snowball/ender pearl/egg/what-have-you copies the item's NBT data (name, lore, custom model data). However, if the item being thrown is the last in the stack, then it just throws a regular projectile.

      Steps to Reproduce

      Grab yourself a single snowball and rename it.

      Toss it out.

      Run the command "/data get entity @e[type=snowball,sort=nearest,limit=1] Item"

      Behold the given error message.

      Now, repeat the process with two or more snowballs. Throw exactly one snowball, and repeat the command. Behold the snowball's delicious item data.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              KirbAvion Kirven Avion
            • Votes:
              6 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                CHK: