mojira.dev
MC-173303

Leashed pets teleport to the player when reloaded

When the player leashes a standing dog or cat to a fencepost, moves away (~20 blocks) and relogs, the pet will teleport to the player even though it is leashed.

Linked issues

Comments 17

Can confirm this bug occurs in both 1.15.2 & 20w09a. Also found a case in which this issue doesn’t occur.

Tested with dogs & cats in singleplayer (1.15.2 & 20w09a):

  • Outside of spawn chunks this issue occurs as described within this bug report. Leashed standing dogs/cats teleport to the player when the world is loaded and the player is 20~ or more blocks away from their pet. (bug occurs)

  • Inside ‘fully loaded’ (often referred to as Entity Processing) spawn chunks, standing dogs/cats that are leashed do not teleport to the player when the world is loaded and the player is 20~ or more blocks away from their pet. (bug does not occur)

  • Issue occurs as described within this bug report when the pet in question is located at the edge of spawn chunks. i.e. In the Non Entity Processing chunks and Memory Loaded chunks around the edge of spawn chunks. (bug occurs)

Can't seem to replicate this in 20w11a... can anyone else try? Or perhaps post a video?

Confirmed in 20w11a. Make sure to place the cat with the leash outside the spawnchunks. Make sure to be in a position where the cat can teleport to you. Then log out (no other player nearby loading the chunk) and log back in after a while

I see it now. Affects 20w12a

I can confirm that this is in 20w17a.

7 more comments

Cannot reproduce in 23w07a by attaching a tamed wolf to a fence and relogging far away with the wolf still in render distance.

Reproduced in 23w07a

Instead of relogging I walked 32 blocks away from the standing tamed leashed wolf and teleported 1000 blocks towards positive x and then teleported 1000 blocks towards negative x after a few seconds of waiting

2No2Name

elvendorke

Confirmed

Gameplay

Important

Entities, Mob behaviour

cat, chunk-loading, entity, lead, player, teleport, wolf

1.15.2, 20w09a, 20w11a, 20w12a, 20w13b, ..., 1.19.2, 1.19.3, 23w07a, 23w14a, 1.20

24w11a

Retrieved