java.lang.Object
studio.magemonkey.codex.manager.IListener<Divinity>
studio.magemonkey.codex.hooks.NHook<Divinity>
studio.magemonkey.divinity.hooks.external.McmmoHK
All Implemented Interfaces:
org.bukkit.event.Listener, studio.magemonkey.codex.manager.AbstractListener, HookLevel

public class McmmoHK extends studio.magemonkey.codex.hooks.NHook<Divinity> implements HookLevel
  • Field Summary

    Fields inherited from class studio.magemonkey.codex.hooks.NHook

    state

    Fields inherited from class studio.magemonkey.codex.manager.IListener

    plugin
  • Constructor Summary

    Constructors
    Constructor
    Description
    McmmoHK(Divinity plugin)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    getLevel(org.bukkit.entity.Player player)
     
    void
    giveExp(org.bukkit.entity.Player player, int amount)
     
    studio.magemonkey.codex.hooks.HookState
     
    void
     

    Methods inherited from class studio.magemonkey.codex.hooks.NHook

    equals, getPlugin, getState, hashCode, hook, unhook

    Methods inherited from class studio.magemonkey.codex.manager.IListener

    registerListeners

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface studio.magemonkey.codex.manager.AbstractListener

    unregisterListeners
  • Constructor Details

    • McmmoHK

      public McmmoHK(@NotNull Divinity plugin)
  • Method Details

    • setup

      @NotNull public studio.magemonkey.codex.hooks.HookState setup()
      Specified by:
      setup in class studio.magemonkey.codex.hooks.NHook<Divinity>
    • shutdown

      public void shutdown()
      Specified by:
      shutdown in class studio.magemonkey.codex.hooks.NHook<Divinity>
    • 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