public interface PacketHandler
| Modifier and Type | Method and Description |
|---|---|
default boolean |
onReceived(Player player,
Object packet)
The method that will be called on an packet get received from player
You can either cast to NMS Packet or use reflections
|
default boolean |
onSent(Player player,
Object packet)
The method that will be called on an packet get sent to player
You can either cast to NMS Packet or use reflections
|
Copyright © 2022. All rights reserved.