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

Some entities lose their name when placed/broken

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • Minecraft 1.8.8, Minecraft 15w42a, Minecraft 1.9, Minecraft 16w36a, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.2, Minecraft 1.12.1, Minecraft 18w02a, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, 1.14.4, 19w34a, 19w35a, 1.15.2, 20w08a, 1.16, 1.16.1, 20w29a, 1.16.3, 1.16.4 Pre-release 2, 20w46a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 21w11a, 21w15a, 21w17a, 1.17, 1.17.1, 1.18.1, 1.18.2, 22w12a, 1.19, 1.19.2, 1.19.3, 23w03a, 1.20.1, 23w43b, 1.20.3 Release Candidate 1, 1.20.4, 24w12a, 24w13a, 1.20.6, 24w20a
    • Confirmed
    • Entities
    • Normal
    • Platform

      The bug

      Some items which can be used to place the respective entity in the world do not apply the custom item name to the entity. This means once you destroy the entity and pick it up as item it will not have a custom name anymore.

      This was fixed for:

      • minecarts
      • armor stands (23w03a)
      • boat
      • chest_boat (MC-249408)
      • ender_pearl
      • eye_of_ender
      • firework_rocket

      Affected items / entities

      • ender_crystal
      • fishing_bobber (from fishing rod)
      • item_frame / glow_item_frame
      • leash_knot
      • painting

      Code analysis

      Code analysis by clovee can be found in this comment.

        1. 2016-03-01_12.48.40.png
          2016-03-01_12.48.40.png
          911 kB
        2. 2019-08-10_11.49.22.png
          2019-08-10_11.49.22.png
          100 kB
        3. 2019-08-10_11.49.48.png
          2019-08-10_11.49.48.png
          99 kB
        4. 2019-08-10_11.49.58.png
          2019-08-10_11.49.58.png
          178 kB
        5. 2019-08-10_11.50.03.png
          2019-08-10_11.50.03.png
          178 kB
        6. MC-91006 Example.mp4
          3.82 MB

            dinnerbone [Mojang] Nathan Adams
            redstonehelper [Mod] redstonehelper
            Votes:
            49 Vote for this issue
            Watchers:
            25 Start watching this issue

              Created:
              Updated:
              CHK: