Interface SingleSubscription<T extends org.bukkit.event.Event>

Type Parameters:
T - the event type
All Superinterfaces:
AutoCloseable, Subscription, Terminable

public interface SingleSubscription<T extends org.bukkit.event.Event> extends Subscription
Represents a subscription to a single given event.
  • Method Details

    • getEventClass

      @NotNull @NotNull Class<T> getEventClass()
      Gets the class the handler is handling
      Returns:
      the class the handler is handling.