Class PlayerRegainManaEvent

java.lang.Object
org.bukkit.event.Event
studio.magemonkey.codex.api.events.IEvent
studio.magemonkey.divinity.modules.list.classes.event.PlayerClassEvent
studio.magemonkey.divinity.modules.list.classes.event.PlayerRegainManaEvent
All Implemented Interfaces:
org.bukkit.event.Cancellable

public class PlayerRegainManaEvent extends PlayerClassEvent implements org.bukkit.event.Cancellable
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.bukkit.event.Event

    org.bukkit.event.Event.Result
  • Field Summary

    Fields inherited from class studio.magemonkey.codex.api.events.IEvent

    handlers
  • Constructor Summary

    Constructors
    Constructor
    Description
    PlayerRegainManaEvent(org.bukkit.entity.Player player, UserClassData data, double amount)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    boolean
     
    void
    setAmount(double amount)
     
    void
    setCancelled(boolean cancelled)
     

    Methods inherited from class studio.magemonkey.divinity.modules.list.classes.event.PlayerClassEvent

    getClassData, getPlayer

    Methods inherited from class studio.magemonkey.codex.api.events.IEvent

    getHandlerList, getHandlers

    Methods inherited from class org.bukkit.event.Event

    getEventName, isAsynchronous

    Methods inherited from class java.lang.Object

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

    • PlayerRegainManaEvent

      public PlayerRegainManaEvent(@NotNull org.bukkit.entity.Player player, @NotNull UserClassData data, double amount)
  • Method Details

    • isCancelled

      public boolean isCancelled()
      Specified by:
      isCancelled in interface org.bukkit.event.Cancellable
    • setCancelled

      public void setCancelled(boolean cancelled)
      Specified by:
      setCancelled in interface org.bukkit.event.Cancellable
    • getAmount

      public double getAmount()
    • setAmount

      public void setAmount(double amount)