Package me.fami6xx.rpuniverse.core.api
Class LockCreatedEvent
java.lang.Object
org.bukkit.event.Event
me.fami6xx.rpuniverse.core.api.LockCreatedEvent
public class LockCreatedEvent
extends org.bukkit.event.Event
Event that is called when a lock is created.
-
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.HandlerListGets the static handler list for this event.org.bukkit.event.HandlerListGets the list of handlers for this event.getLock()Gets the lock that was created.Methods inherited from class org.bukkit.event.Event
callEvent, getEventName, isAsynchronous
-
Constructor Details
-
LockCreatedEvent
Constructs a new LockCreatedEvent.- Parameters:
lock- the lock that was created
-
-
Method Details
-
getLock
Gets the lock that was created.- Returns:
- the created lock
-
getHandlers
public org.bukkit.event.HandlerList getHandlers()Gets the list of handlers for this event.- Specified by:
getHandlersin classorg.bukkit.event.Event- Returns:
- the list of handlers
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()Gets the static handler list for this event.- Returns:
- the static handler list
-