Annotation Interface MainThread


@Documented @Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface MainThread
Marks an API method that must be invoked on the primary Bukkit server thread.