接口的使用
org.bukkit.plugin.EventExecutor
-
org.bukkit.plugin中EventExecutor的使用
修饰符和类型方法说明void
PluginManager.registerEvent
(Class<? extends Event> event, Listener listener, EventPriority priority, EventExecutor executor, Plugin plugin) Registers the specified executor to the given event classvoid
PluginManager.registerEvent
(Class<? extends Event> event, Listener listener, EventPriority priority, EventExecutor executor, Plugin plugin, boolean ignoreCancelled) Registers the specified executor to the given event classvoid
SimplePluginManager.registerEvent
(Class<? extends Event> event, Listener listener, EventPriority priority, EventExecutor executor, Plugin plugin) void
SimplePluginManager.registerEvent
(Class<? extends Event> event, Listener listener, EventPriority priority, EventExecutor executor, Plugin plugin, boolean ignoreCancelled) Registers the given event to the specified listener using a directly passed EventExecutor限定符构造器说明RegisteredListener
(Listener listener, EventExecutor executor, EventPriority priority, Plugin plugin, boolean ignoreCancelled) TimedRegisteredListener
(Listener pluginListener, EventExecutor eventExecutor, EventPriority eventPriority, Plugin registeredPlugin, boolean listenCancelled)