[SPIGOT-5307] [Vanilla] Pets do not teleport before chunks unload Created: 04/Sep/19  Updated: 19/Dec/19  Resolved: 19/Dec/19

Status: Resolved
Project: Spigot
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: goigle Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: chunk, mobs, vanilla
Environment:

Debian x64


Issue Links:
Duplicate
is duplicated by SPIGOT-1236 Wolves not teleporting with player Resolved
Version: git-Spigot-065a373-763e560 (MC: 1.14.4) (Implementing API version 1.14.4-R0.1-SNAPSHOT)
Guidelines Read: Yes

 Description   

Pets such as cats and wolves do not teleport to the player before a chunk is unloaded.

This can happen before using commands such as /tp or /home (the latter being from EssentialsX) or when a player is moving quickly via horse or boat. The latter is much more noticeable when exploring new territory and new chunks are being generated and much more of an issue as it can be harder to locate where the pet stopped following you.

 

Ideally, before a chunk unloads the server should teleport the pets to the player before unloading the chunk (assuming the pet meets the TP requirements of course).



 Comments   
Comment by md_5 [ 19/Dec/19 ]

Thanks goigle

Comment by goigle [ 19/Dec/19 ]

https://bugs.mojang.com/browse/MC-157494

He's correct, per the MC issue tracker they fixed it for 1.15. took many people re-adding the issue over a couple years I guess. That issue says it's new in 1.14 but you can see in the previously linked one by coal it's been happenjng since 2014

 

Comment by md_5 [ 19/Dec/19 ]

Got a source for that YourCoal?

Comment by YourCoal [ 20/Oct/19 ]

This (should) be fixed for 1.15 btw

Comment by md_5 [ 07/Sep/19 ]

I can reproduce this in single player

Comment by goigle [ 04/Sep/19 ]

I guess it could be base Minecraft, although I could have sworn it used to work in the versions on that linked issue (but maybe I'm thinking of beta 1.8). I don't know what the policy is on fixing issues such as this in Spigot vs. waiting for Mojang to release an update that may or may not fix it.

Comment by YourCoal [ 04/Sep/19 ]

This is a Minecraft bug, not Mojang (from what I know of), kinda relates to this: https://bugs.mojang.com/browse/MC-63603

 

EDIT: I didn't think about it but perhaps entity-activation-range may be a cause of this?

Comment by goigle [ 04/Sep/19 ]

Oh, sorry, yeah. The only plugins on the server are PermissionsEx and EssentialsX. Other than that, it's 100% vanilla

Comment by md_5 [ 04/Sep/19 ]

Vanilla....?

Generated at Tue Apr 15 08:23:03 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.