Class StargateSignDyeChangePortalEvent

java.lang.Object
org.bukkit.event.Event
org.sgrewritten.stargate.api.event.portal.StargatePortalEvent
org.sgrewritten.stargate.api.event.portal.StargateSignDyeChangePortalEvent

public class StargateSignDyeChangePortalEvent extends StargatePortalEvent
  • 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

      public PortalPosition getPortalPosition()
      Returns:

      The portal position of the sign

    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Specified by:
      getHandlers in class org.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