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
    Constructor
    Description
    Constructs a new LockCreatedEvent.
  • Method Summary

    Modifier and Type
    Method
    Description
    static org.bukkit.event.HandlerList
    Gets the static handler list for this event.
    org.bukkit.event.HandlerList
    Gets the list of handlers for this event.
    Gets the lock that was created.

    Methods inherited from class org.bukkit.event.Event

    callEvent, getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • LockCreatedEvent

      public LockCreatedEvent(Lock lock)
      Constructs a new LockCreatedEvent.
      Parameters:
      lock - the lock that was created
  • Method Details

    • getLock

      public Lock 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:
      getHandlers in class org.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