Class ManhuntGameEndEvent

java.lang.Object
org.bukkit.event.Event
uk.radialbog9.spigot.manhunt.events.ManhuntGameEndEvent

public class ManhuntGameEndEvent extends org.bukkit.event.Event
This event is for when the game ends
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Constructor Summary

    Constructors
    Constructor
    Description
    Initiates the event.
    Initiates the event.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
     
    @NotNull org.bukkit.event.HandlerList
     

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • ManhuntGameEndEvent

      public ManhuntGameEndEvent()
      Initiates the event. When GameEndCause e is not specified it defaults to ENDED_PREMATURELY.
    • ManhuntGameEndEvent

      public ManhuntGameEndEvent(GameEndCause c)
      Initiates the event.
      Parameters:
      c - game end cause
  • Method Details

    • 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()