Class PhaseListenersImpl

java.lang.Object
de.kentoj.scrow.bukkit.minigame.phase.event.PhaseListenersImpl
All Implemented Interfaces:
PhaseListeners, org.bukkit.event.Listener

public class PhaseListenersImpl extends Object implements PhaseListeners, org.bukkit.event.Listener
  • Constructor Details

    • PhaseListenersImpl

      public PhaseListenersImpl()
  • Method Details

    • on

      public final <E extends org.bukkit.event.Event> void on(Class<E> clazz, org.bukkit.event.EventPriority priority, EventHandler<E> handler)
      Specified by:
      on in interface PhaseListeners
    • unregisterAll

      public void unregisterAll()
      Description copied from interface: PhaseListeners
      Unregisters all listeners bound to this phase. Note: this is automatically called on phase end.
      Specified by:
      unregisterAll in interface PhaseListeners