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

Teleported entities refer to old chunk

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Awaiting Response
    • Affects Version/s: Minecraft 1.8.7, Minecraft 15w50a
    • Fix Version/s: None
    • Labels:
    • Confirmation Status:
      Unconfirmed

      Description

      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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                marcono1234 [Mod] Marcono1234
              • Votes:
                1 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: