public class AbilityLoadEvent<T>
extends org.bukkit.event.Event
| Constructor and Description |
|---|
AbilityLoadEvent(org.bukkit.plugin.Plugin plugin,
T loadable,
java.util.jar.JarFile jarFile)
Creates a new AbilityLoadEvent.
|
| Modifier and Type | Method and Description |
|---|---|
static org.bukkit.event.HandlerList |
getHandlerList() |
org.bukkit.event.HandlerList |
getHandlers() |
java.util.jar.JarFile |
getJarFile()
Gets the JarFile the ability was loaded from.
|
T |
getLoadable()
Gets the ability's class that was loaded.
|
org.bukkit.plugin.Plugin |
getPlugin()
Gets the ProjectKorra instance the ability was loaded into.
|
public AbilityLoadEvent(org.bukkit.plugin.Plugin plugin,
T loadable,
java.util.jar.JarFile jarFile)
plugin - The instance of ProjectKorraloadable - The class that was loadedjarFile - The JarFile the class was loaded frompublic org.bukkit.event.HandlerList getHandlers()
getHandlers in class org.bukkit.event.Eventpublic static org.bukkit.event.HandlerList getHandlerList()
public java.util.jar.JarFile getJarFile()
public T getLoadable()
public org.bukkit.plugin.Plugin getPlugin()