Class KitLoadEvent
java.lang.Object
org.bukkit.event.Event
net.godlycow.org.essc.api.kit.event.KitLoadEvent
public class KitLoadEvent
extends org.bukkit.event.Event
Fired when a kit definition is loaded from disk.
Observe-only: this event cannot be cancelled.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic org.bukkit.event.HandlerListorg.bukkit.event.HandlerListgetKit()Returns the loaded kit.Returns the file the kit was loaded from.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
KitLoadEvent
Creates a new kit load event.- Parameters:
kit- the loaded kitsourceFileName- the file the kit was loaded from
-
-
Method Details
-
getKit
Returns the loaded kit.- Returns:
- the kit
-
getSourceFileName
Returns the file the kit was loaded from.- Returns:
- the source file name
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlersin classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-