retrooper / packetevents

Precision meets performance—a powerful tool for mastering Minecraft packet manipulation with speed and finesse.
GNU General Public License v3.0
541 stars 152 forks source link

Change PacketType system so switch statements can be easy.(See what can be done) #205

Closed retrooper closed 2 years ago

retrooper commented 2 years ago

Recently been some criticism to the packet type enums, I know and have known they aren't perfect, I want to look into them.

retrooper commented 2 years ago

Done by adding the SimplePacketListenerAbstract https://github.com/retrooper/packetevents/commit/b2039f574189e07927efc1db5745ac4601690c7b