类 CallableEvent
java.lang.Object
org.bukkit.event.Event
cn.lunadeer.dominion.events.CallableEvent
- 直接已知子类:
ExportMcaListEvent,FlagRegisterEvent,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 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleancall()Calls the event, equivalent to Paper's callEvent method.static org.bukkit.event.HandlerListGets the static handler list for this event.@NotNull org.bukkit.event.HandlerListGets the handlers for this event.从类继承的方法 org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
构造器详细资料
-
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
-