Class GameStartEvent

  • All Implemented Interfaces:
    org.bukkit.event.Cancellable

    public class GameStartEvent
    extends org.bukkit.event.Event
    implements org.bukkit.event.Cancellable
    • Field Detail

      • HANDLERS

        public static org.bukkit.event.HandlerList HANDLERS
    • Constructor Detail

      • GameStartEvent

        public GameStartEvent​(Game game)
    • Method Detail

      • getHandlerList

        public static org.bukkit.event.HandlerList getHandlerList()
      • getGame

        public Game getGame()
        Returns:
        The game that starts
      • getHandlers

        @NotNull
        public @NotNull org.bukkit.event.HandlerList getHandlers()
        Specified by:
        getHandlers in class org.bukkit.event.Event
      • isCancelled

        public boolean isCancelled()
        Specified by:
        isCancelled in interface org.bukkit.event.Cancellable
      • setCancelled

        public void setCancelled​(boolean cancel)
        Specified by:
        setCancelled in interface org.bukkit.event.Cancellable