-
Constructor Summary
Constructors
-
Method Summary
getClass(org.bukkit.entity.Player player)
int
getLevel(org.bukkit.entity.Player player)
void
giveExp(org.bukkit.entity.Player player,
int amount)
void
takeMana(org.bukkit.entity.Player player,
double amount,
boolean ofMax)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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