# 接口的使用
org.bukkit.plugin.EventExecutor

使用EventExecutor的程序包
程序包
说明
org.bukkit.plugin
专门用于在运行时加载软件模组(插件)的类.

- ## org.bukkit.plugin中EventExecutor的使用

  参数类型为EventExecutor的org.bukkit.plugin中的方法
  修饰符和类型
  方法
  说明
  `void`
  PluginManager.`registerEvent(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin)`
  将指定的执行器注册至指定的事件类.
  `void`
  PluginManager.`registerEvent(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin, boolean ignoreCancelled)`
  将指定的执行器注册至指定的事件类.
  `void`
  SimplePluginManager.`registerEvent(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin)`
  `void`
  SimplePluginManager.`registerEvent(@NotNull Class<? extends Event> event, @NotNull Listener listener, @NotNull EventPriority priority, @NotNull EventExecutor executor, @NotNull Plugin plugin, boolean ignoreCancelled)`
  将指定的执行器注册至指定的事件类.
  参数类型为EventExecutor的org.bukkit.plugin中的构造器
  限定符
  构造器
  说明
  ``
  `RegisteredListener(@NotNull Listener listener, @NotNull EventExecutor executor, @NotNull EventPriority priority, @NotNull Plugin plugin, boolean ignoreCancelled)`
  ``
  `TimedRegisteredListener(@NotNull Listener pluginListener, @NotNull EventExecutor eventExecutor, @NotNull EventPriority eventPriority, @NotNull Plugin registeredPlugin, boolean listenCancelled)`