Class CustomRegenEvent
java.lang.Object
org.bukkit.event.Event
dev.aurelium.auraskills.api.event.trait.CustomRegenEvent
- All Implemented Interfaces:
org.bukkit.event.Cancellable
public class CustomRegenEvent
extends org.bukkit.event.Event
implements org.bukkit.event.Cancellable
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bukkit.event.Event
org.bukkit.event.Event.Result
-
Constructor Summary
ConstructorDescriptionCustomRegenEvent
(org.bukkit.entity.Player player, SkillsUser user, double amount, CustomRegenEvent.Reason reason) -
Method Summary
Modifier and TypeMethodDescriptiondouble
static org.bukkit.event.HandlerList
@NotNull org.bukkit.event.HandlerList
org.bukkit.entity.Player
getUser()
boolean
void
setAmount
(double amount) void
setCancelled
(boolean cancelled) Methods inherited from class org.bukkit.event.Event
getEventName, isAsynchronous
-
Constructor Details
-
CustomRegenEvent
public CustomRegenEvent(org.bukkit.entity.Player player, SkillsUser user, double amount, CustomRegenEvent.Reason reason)
-
-
Method Details
-
getPlayer
public org.bukkit.entity.Player getPlayer() -
getUser
-
getAmount
public double getAmount() -
setAmount
public void setAmount(double amount) -
getReason
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelled
in interfaceorg.bukkit.event.Cancellable
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelled
in interfaceorg.bukkit.event.Cancellable
-
getHandlers
@NotNull public @NotNull org.bukkit.event.HandlerList getHandlers()- Specified by:
getHandlers
in classorg.bukkit.event.Event
-
getHandlerList
public static org.bukkit.event.HandlerList getHandlerList()
-