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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Resolution: Unresolved
    • Affects Version/s: 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
    • Fix Version/s: None
    • Confirmation Status:
      Confirmed
    • Category:
      (Unassigned)

      Description

      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 [Mod] Marcono1234 can be found in this comment.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                CreeperMagnet_ CreeperMagnet_
              • Votes:
                45 Vote for this issue
                Watchers:
                24 Start watching this issue

                Dates

                • Created:
                  Updated:
                  CHK: