Class LevelledMobsHK
- All Implemented Interfaces:
org.bukkit.event.Listener,studio.magemonkey.codex.manager.AbstractListener,HookMobLevel
public class LevelledMobsHK
extends studio.magemonkey.codex.hooks.NHook<Divinity>
implements HookMobLevel
-
Field Summary
Fields inherited from class studio.magemonkey.codex.hooks.NHook
stateFields inherited from class studio.magemonkey.codex.manager.IListener
plugin -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetMobLevel(org.bukkit.entity.Entity entity) booleanprotected studio.magemonkey.codex.hooks.HookStatesetup()protected voidshutdown()Methods inherited from class studio.magemonkey.codex.hooks.NHook
equals, getPlugin, getState, hashCode, hook, unhookMethods inherited from class studio.magemonkey.codex.manager.IListener
registerListenersMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface studio.magemonkey.codex.manager.AbstractListener
unregisterListeners
-
Constructor Details
-
LevelledMobsHK
-
-
Method Details
-
setup
@NotNull protected studio.magemonkey.codex.hooks.HookState setup()- Specified by:
setupin classstudio.magemonkey.codex.hooks.NHook<Divinity>
-
shutdown
protected void shutdown()- Specified by:
shutdownin classstudio.magemonkey.codex.hooks.NHook<Divinity>
-
hasLevelledMobsInstalled
public boolean hasLevelledMobsInstalled() -
getMobLevel
public double getMobLevel(@NotNull org.bukkit.entity.Entity entity) - Specified by:
getMobLevelin interfaceHookMobLevel
-