Package pers.neige.neigeitems.event
Class PacketSendEvent
-
- All Implemented Interfaces:
-
org.bukkit.event.Cancellable
public final class PacketSendEvent extends CancellableEvent
数据包发送事件.
-
-
Constructor Summary
Constructors Constructor Description PacketSendEvent(UUID uuid, Object packet)
-
Method Summary
Modifier and Type Method Description HandlerList
getHandlers()
UUID
getUuid()
获取接收数据包的玩家 UUID Object
getPacket()
获取发送的数据包 static HandlerList
getHandlerList()
-
Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
-
Methods inherited from class pers.neige.neigeitems.event.CancellableEvent
call, isCancelled, setCancelled
-
Methods inherited from class org.bukkit.event.Cancellable
isCancelled
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getHandlers
@NonNull() HandlerList getHandlers()
-
getHandlerList
@NonNull() static HandlerList getHandlerList()
-
-
-
-