Class WhackMeEvent

java.lang.Object
org.bukkit.event.Event
dev.despical.whackme.api.event.WhackMeEvent
Direct Known Subclasses:
GameEvent, PlayerEvent

public abstract class WhackMeEvent extends org.bukkit.event.Event
Base type for every Bukkit event emitted by Whack Me.

Concrete game and player events extend this class to provide a common API marker. Each concrete Bukkit event still owns its own HandlerList and must be listened to directly.

API Note: Register listeners for a concrete event such as PlayerJoinAttemptEvent; Bukkit does not dispatch child events to a listener registered only for this base class.

  • Nested Class Summary

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

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

    Constructors
    Modifier
    Constructor
    Description
    protected
    Creates a base Whack Me event.
  • Method Summary

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, getHandlers, isAsynchronous

    Methods inherited from class Object

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

    • WhackMeEvent

      protected WhackMeEvent()
      Creates a base Whack Me event.