You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A wandering trader spawns with two llamas, only one is required for this example
One llama is 4 blocks closer to the player compared to the trader
If the player moves far enough for the trader (that is slightly farther away than the llama) to not being tracked, but still keeps the llama within tracking distance, when the player comes closer to make the trader appear again, the leash will connect back to the wandering trader.
Observed/Actual behavior
If the player moves far enough for the trader to not being tracked, but still keeps the llama within distance, when the player comes closer to make the trader appear again, the leash will be stuck on the air in the same position the trader was before going out of tracking distance.
Steps/models to reproduce
Load the following world with Paper 26.2 build 56 (jar not included): server.zip
Fly to the platform with the trader and their llama.
Fly far enough to only get the trader to not be tracked, there's a diamond platform in the distance for reference
I haven't been able to re-create this neither in Vanilla nor in Fabric+Moonrise.
Paper has logic to re-attach a leashed entity to their leasher when they enter tracking distance.
However, it doesn't seem to be any logic that does the opposite, re-sync the leasher to its leashed entities (vanilla and moonrise don't seem to have logic for that either, it's weird).
Expected behavior
Given the following setup:
If the player moves far enough for the trader (that is slightly farther away than the llama) to not being tracked, but still keeps the llama within tracking distance, when the player comes closer to make the trader appear again, the leash will connect back to the wandering trader.
Observed/Actual behavior
If the player moves far enough for the trader to not being tracked, but still keeps the llama within distance, when the player comes closer to make the trader appear again, the leash will be stuck on the air in the same position the trader was before going out of tracking distance.
Steps/models to reproduce
Load the following world with Paper 26.2 build 56 (jar not included):
server.zip
Fly to the platform with the trader and their llama.
Fly far enough to only get the trader to not be tracked, there's a diamond platform in the distance for reference
Fly back to the platform with the trader
See the desync
Plugin and Datapack List
No plugins nor datapacks
Paper version
Paper 26.2 build 56
Other
Possibly related issues as pointed out by Amaranth in discord, but not quite the same issue:
https://mojira.dev/MC-153980
https://mojira.dev/MC-144312
I haven't been able to re-create this neither in Vanilla nor in Fabric+Moonrise.
Paper has logic to re-attach a leashed entity to their leasher when they enter tracking distance.
However, it doesn't seem to be any logic that does the opposite, re-sync the leasher to its leashed entities (vanilla and moonrise don't seem to have logic for that either, it's weird).
tracking_leash_desync.mp4