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

Teleported entities refer to old chunk

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Awaiting Response
    • None
    • Minecraft 1.8.7, Minecraft 15w50a
    • Unconfirmed

      Relates to:

      It seems like when an entity gets teleported it still refers to the chunk it was before. (This fixes itself when the chunk it referred to gets unloaded or when you reopen the world).

      How to reproduce:

      1. Go away from the spawn chunks
      2. Use this command /summon ArmorStand ~ ~ ~ {CustomName:playerChunk}
      3. Teleport the ArmorStand in an unloaded chunk, for example: /tp @e[type=ArmorStand,name=playerChunk] ~3000 ~ ~
      4. Wait some time and use /say @e[type=ArmorStand,name=playerChunk] It should say the name of the ArmorStand
      5. Try to execute on the entity
        It will fails which means the chunk is not loaded, however commands still find the entity which means it is still loaded

      Checking if the entity is in a different chunk after the teleportation, removing it from the old chunk and adding it to the new chunk seems to work.

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: