Package com.stardevllc.starmclib.plugin
Class PluginEventBus<P extends org.bukkit.plugin.java.JavaPlugin>
java.lang.Object
com.stardevllc.starlib.eventbus.impl.StarEventBus<Object,org.bukkit.event.Cancellable>
com.stardevllc.starmclib.plugin.PluginEventBus<P>
- Type Parameters:
P- The plugin type
- All Implemented Interfaces:
com.stardevllc.starlib.eventbus.IEventBus<Object,org.bukkit.event.Cancellable>
public class PluginEventBus<P extends org.bukkit.plugin.java.JavaPlugin>
extends com.stardevllc.starlib.eventbus.impl.StarEventBus<Object,org.bukkit.event.Cancellable>
An
IEventBus that allows any object to be called-
Nested Class Summary
Nested classes/interfaces inherited from class com.stardevllc.starlib.eventbus.impl.StarEventBus
com.stardevllc.starlib.eventbus.impl.StarEventBus.EventHandler<E,C> -
Field Summary
FieldsFields inherited from class com.stardevllc.starlib.eventbus.impl.StarEventBus
cancelClass, cancelMapper, eventClass -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.stardevllc.starlib.eventbus.impl.StarEventBus
addChildBus, clearListeners, getEventClass, getHandlers, post, setCancelHandler, setCancelMapper, subscribe, unsubscribe
-
Field Details
-
plugin
-
-
Constructor Details
-
PluginEventBus
-
-
Method Details
-
getPlugin
-