Minecraft uses TCP for connections. TCP ensures reliable, ordered delivery of data. This means if the server sends
A -> B -> C the client will receive it in that exact order.
For anticheats to work properly, we need to know what "state" the client is in.
This is not as easy to detect because latency comes into play. For example, if we send Give Player Jump Boost to the player, it takes some time before the client actually receives it.