Mojira Archive
MC-81536

Teleported entities refer to old chunk

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.

Awaiting Response

Marcono1234

2015-06-18, 03:53 PM

2016-10-22, 08:49 AM

2016-10-22, 08:49 AM

1

4

Unconfirmed

/tp, chunk, entity, load, tp

Minecraft 1.8.7, Minecraft 15w50a

-