mojira.dev
MC-237598

Projectiles glitch around in the air when exiting simulation distance

The Bug:

Projectiles glitch around in the air when exiting simulation distance.

Steps to Reproduce:

  • Set your simulation distance to "2 chunks".

  • Throw a trident as far as you can.

  • Watch it closely as it exists your simulation distance.

Observed Behavior:

Projectiles glitch around in the air, (constantly appear to teleport) when exiting simulation distance.

Expected Behavior:

Projectiles would not glitch around in the air, (constantly appear to teleport) when exiting simulation distance. Instead, they should remain still and in the same position until they enter simulation distance again.

Attachments

Comments 4

The expected here really would be the projectiles freezing at the simulation distance limit like the other entities, but that might require fixing MC-197646 i guess.

This issue is not 100% fixed in 1.18 pre-1. The items are still being ticked in the client when they are outside the viewing distance. The server just doesn't send any (position) updates anymore. This fixes that the projectiles/items are repeatedly teleported when outside the view distance. But there is still a desync between the client and the server. The projectiles/items continue to fly/fall in the client but not on the server. When the player moves such that the given entity is within the simulation distance again it will teleport back and fly/fall again.
Demonstration in this video:

[media]


Higher bitrate:
https://youtu.be/z0-zAKjRvbs

This is now the intended behavior.

Avoma

Timur Nazarov

Confirmed

Important

Entities, Projectiles

21w38a, 21w39a, 21w40a

1.18 Pre-release 1

Retrieved