Class DivinityHook

java.lang.Object
studio.magemonkey.divinity.hooks.internal.DivinityHook
All Implemented Interfaces:
HookClass, HookLevel

public class DivinityHook extends Object implements HookLevel, HookClass
  • Constructor Details

    • DivinityHook

      public DivinityHook(@NotNull Divinity plugin)
  • Method Details

    • getClass

      @NotNull public String getClass(@NotNull org.bukkit.entity.Player player)
      Specified by:
      getClass in interface HookClass
    • getLevel

      public int getLevel(@NotNull org.bukkit.entity.Player player)
      Specified by:
      getLevel in interface HookLevel
    • giveExp

      public void giveExp(@NotNull org.bukkit.entity.Player player, int amount)
      Specified by:
      giveExp in interface HookLevel
    • takeMana

      public void takeMana(@NotNull org.bukkit.entity.Player player, double amount, boolean ofMax)
      Specified by:
      takeMana in interface HookClass