Class PwingRacesHK

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

public class PwingRacesHK extends studio.magemonkey.codex.hooks.NHook<Divinity> implements HookClass, 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
     
  • Method Summary

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

    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

    • PwingRacesHK

      public PwingRacesHK(@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>
    • getClass

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

      public void takeMana(@NotNull org.bukkit.entity.Player player, double amount, boolean ofMax)
      Specified by:
      takeMana 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