- Added support for 1.18
- Massive refactor to packet names (note: any project currently using this library will need to update to these names; see this page for information on what to do to move over)
- Optimized packet construction to no longer use reflection
- Optimized protocol state switching (e.g. HANDSHAKE -> GAME) to pull from a static codec for packets, rather than re-initializing & registering the protocol every time, for every session)
- Modified all packet fields to be final
- Packets now take in a
NetInput
field in their constructor - Entity metadata now has more specific data types
This update includes a large refactor of most every packet; please see this page more info on what has changed.