java.lang.Object
studio.magemonkey.codex.manager.IListener<CodexEngine>
studio.magemonkey.codex.hooks.NHook<CodexEngine>
studio.magemonkey.codex.hooks.external.citizens.CitizensHK
All Implemented Interfaces:
org.bukkit.event.Listener, studio.magemonkey.codex.manager.AbstractListener

public class CitizensHK extends NHook<CodexEngine>
  • Constructor Details

    • CitizensHK

      public CitizensHK(@NotNull CodexEngine plugin)
  • Method Details

    • setup

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

      protected void shutdown()
      Specified by:
      shutdown in class NHook<CodexEngine>
    • addListener

      public void addListener(@NotNull CodexPlugin<?> plugin, @NotNull CitizensListener listener)
    • removeListener

      public void removeListener(@NotNull CitizensListener listener)
    • getListeners

      @NotNull public Set<CitizensListener> getListeners(@NotNull CodexPlugin<?> plugin)
    • unregisterListeners

      public void unregisterListeners(@NotNull CodexPlugin<?> plugin)
    • registerTrait

      public void registerTrait(@NotNull CodexPlugin<?> plugin, @NotNull Class<? extends net.citizensnpcs.api.trait.Trait> trait)
    • registerTrait

      public void registerTrait(@NotNull CodexPlugin<?> plugin, @NotNull net.citizensnpcs.api.trait.TraitInfo trait)
    • unregisterTrait

      public void unregisterTrait(@NotNull CodexPlugin<?> plugin, @NotNull net.citizensnpcs.api.trait.TraitInfo trait)
    • unregisterTraits

      public void unregisterTraits(@NotNull CodexPlugin<?> plugin)
    • onLeftClick

      public void onLeftClick(net.citizensnpcs.api.event.NPCLeftClickEvent e)
    • onRightClick

      public void onRightClick(net.citizensnpcs.api.event.NPCRightClickEvent e)