Class AsyncStargateSendMessagePortalEvent
java.lang.Object
org.bukkit.event.Event
org.sgrewritten.stargate.api.event.portal.StargatePortalEvent
org.sgrewritten.stargate.api.event.portal.CancellableStargatePortalEvent
org.sgrewritten.stargate.api.event.portal.message.StargateSendMessagePortalEvent
org.sgrewritten.stargate.api.event.portal.message.AsyncStargateSendMessagePortalEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionAsyncStargateSendMessagePortalEvent
(Portal portal, org.bukkit.entity.Entity entity, MessageType type, StargateComponent message) Instantiates a new stargate player event -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
Methods inherited from class org.sgrewritten.stargate.api.event.portal.message.StargateSendMessagePortalEvent
getEntity, getMessage, getType, setMessage
Methods inherited from class org.sgrewritten.stargate.api.event.portal.CancellableStargatePortalEvent
isCancelled, setCancelled
Methods inherited from class org.sgrewritten.stargate.api.event.portal.StargatePortalEvent
getPortal
Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
AsyncStargateSendMessagePortalEvent
public AsyncStargateSendMessagePortalEvent(Portal portal, org.bukkit.entity.Entity entity, MessageType type, StargateComponent message) Instantiates a new stargate player eventCalled asynchronously with the bukkit primary thread
- Parameters:
portal
-The portal involved in this stargate event
entity
-The entity receiving the message
type
-The type of message being sent
-
-
Method Details
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-