Interface TempEventHandler<E extends org.bukkit.event.Event>

Type Parameters:
E - Event type (事件类型)
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface TempEventHandler<E extends org.bukkit.event.Event>
Temporary event handler.

临时事件处理器。

  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    handle(E event)
     
  • Method Details

    • handle

      boolean handle(E event)
      Parameters:
      event - Event
      事件
      Returns:
      Whether to unregister the listener
      是否注销监听器