Class PacketClientboundEvent

java.lang.Object
org.bukkit.event.Event
com.shanebeestudios.coreapi.event.PacketEvent
com.shanebeestudios.coreapi.event.PacketClientboundEvent
All Implemented Interfaces:
Cancellable

public class PacketClientboundEvent extends PacketEvent
Called when a packet is sent to a client

To listen to this event you will first need to execute PlayerPacketListener.registerListener(Plugin)

  • Method Details

    • getHandlers

      @NotNull public @NotNull HandlerList getHandlers()
      Get the handler list
      Specified by:
      getHandlers in class Event
      Returns:
      Handler list
    • getHandlerList

      public static HandlerList getHandlerList()
      Get the handler list
      Returns:
      Handler list