I have an idea for a mod for 1.12 and I've been looking into the logistics of it for a little while now, delving into the source code but I'm still struggling to quite understand how the game rendering works.
I understand the basics, the server sends the chunk details to the client and then the client renders it, but I can't find where all of this happens in the code. If someone would be able to point me in the right direction and explain how and where the server sends the chunk information