SubscribeEvent

Marks a method as an event subscriber for auto-registration.

Host runtimes may scan plugin jars and register these methods automatically. This annotation is intentionally in Java so both Java and Kotlin can use it cleanly.

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun ignoreCancelled(): Boolean
Link copied to clipboard
abstract fun priority(): EventPriority
Link copied to clipboard
abstract fun toString(): String
Link copied to clipboard
abstract fun value(): Class<out Event>