Class StargateSignDyeChangePortalEvent
java.lang.Object
org.bukkit.event.Event
org.sgrewritten.stargate.api.event.portal.StargatePortalEvent
org.sgrewritten.stargate.api.event.portal.StargateSignDyeChangePortalEvent
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionStargateSignDyeChangePortalEvent
(@NotNull Portal portal, org.bukkit.DyeColor colorChange, org.bukkit.Location location, PortalPosition portalPosition) Instantiates a new stargate event -
Method Summary
Modifier and TypeMethodDescriptionorg.bukkit.DyeColor
static org.bukkit.event.HandlerList
Gets a handler-list containing all event handlers@NotNull org.bukkit.event.HandlerList
org.bukkit.Location
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
-
StargateSignDyeChangePortalEvent
public StargateSignDyeChangePortalEvent(@NotNull @NotNull Portal portal, org.bukkit.DyeColor colorChange, org.bukkit.Location location, PortalPosition portalPosition) Instantiates a new stargate event- Parameters:
portal
-The portal involved in this stargate event
-
-
Method Details
-
getLocation
public org.bukkit.Location getLocation()- Returns:
The location of the sign
-
getColorChange
public org.bukkit.DyeColor getColorChange()- Returns:
The new dye color of
-
getPortalPosition
- Returns:
The portal position of the sign
-
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()Gets a handler-list containing all event handlers- Returns:
A handler-list with all event handlers
-