Need some help from the tech savvy folks up here.
A random thought just came to me and I can't figure it out. It kinda bugs me a bit:

Assume that a player is playing Minecraft with 60FPS. Since Minecraft runs on a 20TPS, where basically everything gets updates 20 times per second (50ms per update), there will be 3 frames rendered on the player's side, while the game only updates once.

We don't see any stutter in player or mob movements that represents the 20 TPS, so how does Minecraft handle this discrepancy?

My initial impression is that Minecraft calculates these things separately, where on the server side, the position and velocity of stuff gets updates only 20 times per second.
Then on the client side, player movements are processed locally, and other movements are calculated and rendered using the data from the server, with interpolated data.

Also, is this the reason why, as mentioned by Mumbo Jumbo in this video, [https://www.youtube.com/watch?v=rY5NZ0PVcTQ&t=1193s](https://www.youtube.com/watch?v=rY5NZ0PVcTQ&t=1193s)
Minecraft is exact with the minecart position but not players?

Voir le contenu lié