PLEASE USE THIS UPDATED VERSION AS IT CONTAINS A LOT OF BUG FIXES!
Expect official 1.16 support in the next update!
Changelog:
• Clientbound Abilities wrapper added and is sendable to clients
• Clientbound health update wrapper added and is sendable...
- TinyProtocol removed
- API Size way smaller
- PlayerUninjectEvent is now called
- Version lookup methods re-added, but version lookup is only possible with ProtocolSupport or ViaVersion plugin avaialable on the server.
If you try looking up version and none of the listed plugins could be found, you will result with ClientVersion.ACCESS_FAILURE
- WrappedPacketOutAbilities sendable wrapper added
- PostPlayerInjectEvent has been deprecated, please use PlayerInjectEvent
- PlayerUninjectEvent now cancellable
- PlayerInjectEvent or PlayerUninjectEvent cancelling, will cancel the action.
- Packet class has been deprecated, please use PacketType instead!
- Packet.isInstanceOfFlyingPacket(nmsPacket) -> PacketType.Util.isInstanceOfFlyingPacket(nmsPacket), and more instanceof functions are added in the PacketType.Util class too!
- PacketReceiveEvent#getPacket() is deprecated, please use PacketReceiveEvent#getNMSPacket()
- PacketSendEvent#getPacket() is deprecated, please use PacketSendEvent#getNMSPacket()
- PacketEvents.setShouldKickOnRestart(boolean) removed
- Issues with netty fixed