MCProtocolLib/example
RednedEpic 64410dbe48 Implement packet codec system to remove expensive protocol state switches
With the way this lib used to previously work, any time the protocol state changed, all the packet maps got cleared and had new packets inserted into them depending on the protocol state. This was unnecessarily expensive and although called rarely, it was not ideal.

The packet codecs added are static, immutable and can be reused across sessions. The codec system also opens up the door for multi-version capability in the future.
2021-11-13 16:44:55 -06:00
..
com/github/steveice10/mc/protocol/test Implement packet codec system to remove expensive protocol state switches 2021-11-13 16:44:55 -06:00