An addon plugin for InteractiveChat to support PacketEvents instead of ProtocolLib.
PacketEvents shades Adventure, but doesn't relocate it.
InteractiveChat shades Adventure and relocates it.
This creates several issues when it comes to using Adventure, which IC uses heavily.
It is possible to do this through Reflection within IC itself, however that impacts maintainability and readability.
In the end, we decided to split PacketEvents support into two parts:
- Remove the inherent dependency on ProtocolLib.
- Allow external plugins like this to register their own ProtocolProvider.
This allows us to use the now-reflected Adventure API for InteractiveChat, and the normal Adventure which PE / the server will provide.
You can see the corresponding PR here: LOOHP/InteractiveChat#256