I am currently writing a research paper and in it I need to discuss how Minecraft handles its state and event updates. What I am trying to find out is:
when exactly is a state update generated and sent.
Is it asynchronous, so an update happens as soon as a command is given? Or is it scheduled to be sent at a specific time, like in a server tick?
Is there any kind of accumulation that happens?
Any other information that would help understand the event and state update process.
As much info on the topic or directions as to where exactly to find them would be much appreciated. I could try dig this up myself but that would require a lot of technical time that can be avoided thanks to you guys! I would rather not have to reinvent the wheel due to time constraints.