Class IslandLockEvent
java.lang.Object
org.bukkit.event.Event
us.talabrek.ultimateskyblock.api.event.island.IslandEvent
us.talabrek.ultimateskyblock.api.event.island.CancellableIslandEvent
us.talabrek.ultimateskyblock.api.event.island.IslandLockEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
Fired when an island is locked.
- Since:
- 2.8.4
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionIslandLockEvent
(@NotNull IslandInfo islandInfo, @Nullable org.bukkit.OfflinePlayer initializer) -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
@Nullable org.bukkit.OfflinePlayer
Gets theOfflinePlayer
initializing the lock event, if available.Methods inherited from class us.talabrek.ultimateskyblock.api.event.island.CancellableIslandEvent
isCancelled, setCancelled
Methods inherited from class us.talabrek.ultimateskyblock.api.event.island.IslandEvent
getIslandInfo
Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
IslandLockEvent
public IslandLockEvent(@NotNull @NotNull IslandInfo islandInfo, @Nullable @Nullable org.bukkit.OfflinePlayer initializer)
-
-
Method Details
-
getInitializer
@Nullable public @Nullable org.bukkit.OfflinePlayer getInitializer()Gets theOfflinePlayer
initializing the lock event, if available.- Returns:
- The
OfflinePlayer
initializing the trust event, or null if the initializer is unknown.
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
@NotNull public static @NotNull org.bukkit.event.HandlerList getHandlerList()
-