PacketEvents is emerging as a strong contender in the realm of Minecraft packet processing libraries. Designed to simplify packet manipulation while delivering high performance, this powerful tool aims to demystify the complexities of projects utilizing packets.
GNU General Public License v3.0
520
stars
149
forks
source link
FEATURE REQUEST: Revamp the way packets are being written to a more standalone approach #859
Is your feature request related to a problem? Please describe.
PacketEvents currently has no way to write buffer content besides the PacketWrapper class, which limits the usage to specifically packets only.
Describe the solution you'd like
We could make a standalone class that is responsible for reading and writing from a ByteBuf, rather than bundling every single method inside the PacketWrapper class.
Is your feature request related to a problem? Please describe. PacketEvents currently has no way to write buffer content besides the PacketWrapper class, which limits the usage to specifically packets only.
Describe the solution you'd like We could make a standalone class that is responsible for reading and writing from a ByteBuf, rather than bundling every single method inside the PacketWrapper class.
Basic approach brainstorm: https://hastebin.com/share/emaqogenel.java