Package studio.magemonkey.codex.hooks
Class NHook<P extends CodexPlugin<P>>
java.lang.Object
studio.magemonkey.codex.manager.IListener<P>
studio.magemonkey.codex.hooks.NHook<P>
- All Implemented Interfaces:
org.bukkit.event.Listener,studio.magemonkey.codex.manager.AbstractListener
- Direct Known Subclasses:
CitizensHK,MythicMobsHK,MythicMobsHKv5,VaultHK,WorldGuardHK
public abstract class NHook<P extends CodexPlugin<P>>
extends studio.magemonkey.codex.manager.IListener<P>
-
Field Summary
FieldsFields inherited from class studio.magemonkey.codex.manager.IListener
plugin -
Constructor Summary
Constructors -
Method Summary
Methods 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
-
Field Details
-
state
protected studio.magemonkey.codex.hooks.HookState state
-
-
Constructor Details
-
NHook
-
-
Method Details
-
hook
public final void hook() -
unhook
public final void unhook() -
getPlugin
-
setup
@NotNull protected abstract studio.magemonkey.codex.hooks.HookState setup() -
shutdown
protected abstract void shutdown() -
getState
@NotNull public final studio.magemonkey.codex.hooks.HookState getState() -
equals
-
hashCode
public int hashCode()
-