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

Some entities don't update position to the client when teleported



    • Bug
    • Status: Reopened
    • Resolution: Unresolved
    • Minecraft 14w02c, Minecraft 14w03a, Minecraft 14w03b, Minecraft 14w08a, Minecraft 14w21b, Minecraft 14w33c, Minecraft 14w34d, Minecraft 1.8, Minecraft 1.8.1, Minecraft 1.8.2-pre1, Minecraft 15w47c, Minecraft 1.10, Minecraft 1.12, Minecraft 1.12.2, Minecraft 18w11a, Minecraft 1.13, Minecraft 18w31a, Minecraft 18w32a, Minecraft 18w33a, Minecraft 1.13.1-pre1, Minecraft 1.13.1, Minecraft 1.13.2, Minecraft 18w43b, Minecraft 18w43c, Minecraft 18w44a, Minecraft 18w45a, Minecraft 18w46a, Minecraft 18w48a, Minecraft 18w48b, Minecraft 18w49a, Minecraft 19w04b, Minecraft 19w07a, Minecraft 19w12b, Minecraft 19w13b, Minecraft 19w14a, Minecraft 19w14b, Minecraft 1.14.3, 1.14.4, 19w36a, 19w41a, 1.15 Pre-release 1, 1.15.1, 1.15.2, 20w12a, 20w14a, 1.16 Pre-release 1, 1.16, 1.16.1, 1.16.2 Release Candidate 1, 1.16.2, 1.16.3 Release Candidate 1, 1.16.3, 1.16.4, 20w46a, 20w48a, 20w49a, 20w51a, 21w03a, 1.16.5, 21w05a, 21w05b, 21w11a, 1.17, 1.17.1, 1.18, 1.18.2, 22w11a, 22w16b, 22w18a, 1.19
    • None
    • Confirmed
    • Entities, Networking, Rendering
    • Low


      The bug

      When you try to teleport certain entities using the @e selector, they do not move visually (i.e. client-side), but actually move server-side. You can then for example not hit or interact with the entity and must reload the world to see its real position and hit it again.

      Affected entities

      • Area effect cloud (minecraft:area_effect_cloud)
        Only when not changing size (?)
      • End crystal (minecraft:end_crystal)
      • Fishing bobber (minecraft:fishing_bobber)
      • Lightning bolt (minecraft:lightning_bolt)

      How to reproduce

      1. Enable F3+B
      2. Run
        /summon minecraft:area_effect_cloud ~ ~ ~ {Duration:1000s}
      3. Go some blocks away
        → Notice that there now is a white line where you stood (that's the area effect cloud)
      4. Run
        /teleport @e[type=minecraft:area_effect_cloud] ~ ~ ~

        → Notice that the white line did not move

      5. Close the world and re-enter it
        → Notice that the white line now changed its position

      Code analysis

      Code analysis by marcono1234 can be found in this comment.


        Issue Links



              Unassigned Unassigned
              Asteraoth [Mod] Asteraoth
              49 Vote for this issue
              32 Start watching this issue