Class PacketClientboundEvent
java.lang.Object
org.bukkit.event.Event
com.shanebeestudios.coreapi.event.PacketEvent
com.shanebeestudios.coreapi.event.PacketClientboundEvent
- All Implemented Interfaces:
Cancellable
Called when a packet is sent to a client
To listen to this event you will first need to execute PlayerPacketListener.registerListener(Plugin)
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result -
Method Summary
Modifier and TypeMethodDescriptionstatic HandlerListGet the handler list@NotNull HandlerListGet the handler listMethods inherited from class com.shanebeestudios.coreapi.event.PacketEvent
getPacket, getPlayer, isCancelled, setCancelledMethods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Method Details
-
getHandlers
Get the handler list- Specified by:
getHandlersin classEvent- Returns:
- Handler list
-
getHandlerList
Get the handler list- Returns:
- Handler list
-