amadornes / MCMultiPart

A universal multipart API for Modern Minecraft
Other
67 stars 22 forks source link

Network/backend rewrite (1/?) #116

Closed 2xsaiko closed 6 years ago

2xsaiko commented 6 years ago

This is a pretty big change which should reduce the amount of data sent by sending all chunk changes in a single packet, which allows for further optimisation (only sending block pos once per block, for example). All part changes get stored in a change list (1 per chunk) which gets flushed at the end of the tick. (See #48) Also, a lot of the code in TileMultipartContainer has been refactored/redone to reduce bugs and reduce duplicate code.

This is also a prerequisite for #57.