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

Invulnerable item entities and experience orbs are removed client-side when they take damage


    • Icon: Bug Bug
    • Resolution: Fixed
    • 22w07a
    • Minecraft 14w11b, Minecraft 14w17a, Minecraft 14w18a, Minecraft 14w25b, Minecraft 14w28a, Minecraft 14w31a, Minecraft 1.8, Minecraft 1.8.1-pre5, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 1.8.6, Minecraft 1.8.7, Minecraft 1.8.8, Minecraft 15w34a, Minecraft 15w34b, Minecraft 15w34c, Minecraft 15w34d, Minecraft 15w38a, Minecraft 15w38b, Minecraft 15w49b, Minecraft 1.8.9, Minecraft 15w50a, Minecraft 1.9 Pre-Release 1, Minecraft 1.9 Pre-Release 2, Minecraft 1.10.2, Minecraft 16w32b, Minecraft 16w36a, Minecraft 16w38a, Minecraft 16w39b, Minecraft 16w39c, Minecraft 16w40a, Minecraft 16w41a, Minecraft 16w42a, Minecraft 16w43a, Minecraft 16w44a, Minecraft 1.11 Pre-Release 1, Minecraft 1.11, Minecraft 16w50a, Minecraft 1.11.1, Minecraft 1.11.2, Minecraft 17w06a, Minecraft 17w13a, Minecraft 17w13b, Minecraft 17w15a, Minecraft 17w16b, Minecraft 17w17b, Minecraft 17w18b, Minecraft 1.12 Pre-Release 2, Minecraft 1.12, Minecraft 1.12.1, Minecraft 1.12.2, Minecraft 18w14b, Minecraft 18w15a, Minecraft 1.13-pre5, Minecraft 1.13-pre6, Minecraft 1.13-pre7, Minecraft 1.13-pre8, Minecraft 1.13-pre10, Minecraft 1.13, Minecraft 18w30b, Minecraft 18w31a, Minecraft 18w32a, Minecraft 1.13.1-pre1, Minecraft 1.13.1-pre2, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w47a, Minecraft 18w47b, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 18w50a, Minecraft 19w02a, Minecraft 19w03a, Minecraft 19w03b, Minecraft 19w04b, Minecraft 19w05a, 1.14.4, 1.15 Pre-release 1, 1.15.2, 20w07a, 20w21a, 1.16 Pre-release 2, 1.16.2 Pre-release 1, 1.16.2 Pre-release 2, 1.16.2 Release Candidate 1, 1.16.2, 1.16.3, 1.16.4, 20w46a, 20w48a, 20w51a, 21w03a, 1.16.5, 21w05b, 21w06a, 21w07a, 21w08b, 21w11a, 21w17a, 1.17 Pre-release 1, 1.17, 1.17.1, 1.18.1
    • Confirmed
    • Entities, Networking
    • Low

      The bug

      Invulnerable item entities and XP orbs disappear / are removed from the world client-side when they take damage. However, they are still in the world server-side and once the player gets close to them he collects them.

      How to reproduce (item)

      1. Summon an invulnerable item entity
        /summon item ~2 ~ ~ {Invulnerable:1b,Item:{id:"stone",Count:1b}}
      2. Ignite the block below it with a Flint and Steel and put out the fire afterwards
        → The item is not visible anymore
      3. Move towards the position the item was
        → It is still there and you can collect it

      How to reproduce (XP orb)

      1. Place a command block with the following command
        /summon armor_stand ~ ~ ~ {Invulnerable:1b,Passengers:[{id:"experience_orb",Value:10s,Invulnerable:1b}]}
      2. Set the top of the command block on fire and put out the fire afterwards
        → The XP orb is not visible anymore
      3. Move towards the position the XP orb was
        → It is still there and you can collect it

      Types of damage

      • Fire
      • Lava
      • Cactus

      Code analysis

      Code analysis by marcono1234 can be found in this comment.

        1. 2014-04-27_20.47.35.png
          133 kB
        2. 2014-04-27_20.47.48.png
          134 kB
        3. MC-53850.mp4
          3.47 MB

            Unassigned Unassigned
            CreeperMagnet_ CreeperMagnet_
            85 Vote for this issue
            42 Start watching this issue