juliarn / npc-lib

Asynchronous, high-performance Minecraft NPC library for 1.8-1.21 servers.
MIT License
320 stars 50 forks source link

Switch to PacketEvents #65

Closed vytskalt closed 2 years ago

vytskalt commented 2 years ago

I suggest switching from ProtocolLib to PacketEvents 2.0. It's faster, works with 1.7-1.18, much easier to use and can be shaded instead of requiring ProtocolLib installed on the server.

juliarn commented 2 years ago

Hey, thanks for your suggestion, but because of the current api structure, it's not that easy to replace ProtocolLib, as it is referenced in some parts of the api. And it should be possible to relocate and shade ProtocolLib too. Either way the dependency on a library like this is not that great.