类 CallableEvent

java.lang.Object
org.bukkit.event.Event
cn.lunadeer.dominion.events.CallableEvent
直接已知子类:
PlayerCrossDominionBorderEvent, PlayerMoveInDominionEvent, PlayerMoveOutDominionEvent, ResultEvent

public class CallableEvent extends org.bukkit.event.Event
Represents a callable event in the Dominion plugin. This class is designed to be compatible with both Spigot and Paper.
  • 嵌套类概要

    从类继承的嵌套类/接口 org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • 构造器概要

    构造器
    构造器
    说明
     
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    Calls the event, equivalent to Paper's callEvent method.
    static org.bukkit.event.HandlerList
    Gets the static handler list for this event.
    @NotNull org.bukkit.event.HandlerList
    Gets the handlers for this event.

    从类继承的方法 org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    从类继承的方法 java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 构造器详细资料

    • CallableEvent

      public CallableEvent()
  • 方法详细资料

    • getHandlerList

      public static org.bukkit.event.HandlerList getHandlerList()
      Gets the static handler list for this event.
      返回:
      the handler list
    • getHandlers

      @NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()
      Gets the handlers for this event.
      指定者:
      getHandlers 在类中 org.bukkit.event.Event
      返回:
      the handler list
    • call

      public boolean call()
      Calls the event, equivalent to Paper's callEvent method. This method is defined here for Spigot compatibility.
      返回:
      true if the event was successfully executed, false if the event was cancelled