Class MythicMobsHKv5

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

public class MythicMobsHKv5 extends NHook<CodexEngine> implements IMythicHook
  • Constructor Details

    • MythicMobsHKv5

      public MythicMobsHKv5(CodexEngine plugin)
  • Method Details

    • setup

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

      public void shutdown()
      Specified by:
      shutdown in class NHook<CodexEngine>
    • isMythicMob

      public boolean isMythicMob(@NotNull org.bukkit.entity.Entity entity)
      Specified by:
      isMythicMob in interface IMythicHook
    • getMythicNameByEntity

      @NotNull public String getMythicNameByEntity(@NotNull org.bukkit.entity.Entity entity)
      Specified by:
      getMythicNameByEntity in interface IMythicHook
    • getMythicInstance

      public io.lumine.mythic.api.mobs.MythicMob getMythicInstance(@NotNull org.bukkit.entity.Entity entity)
      Specified by:
      getMythicInstance in interface IMythicHook
    • isDropTable

      public boolean isDropTable(@NotNull String table)
      Specified by:
      isDropTable in interface IMythicHook
    • getLevel

      public double getLevel(@NotNull org.bukkit.entity.Entity e)
      Specified by:
      getLevel in interface IMythicHook
    • getMythicIds

      @NotNull public List<String> getMythicIds()
      Specified by:
      getMythicIds in interface IMythicHook
    • setSkillDamage

      public void setSkillDamage(@NotNull org.bukkit.entity.Entity entity, double amount)
      Specified by:
      setSkillDamage in interface IMythicHook
    • castSkill

      public void castSkill(@NotNull org.bukkit.entity.Entity e, @NotNull String skill)
      Specified by:
      castSkill in interface IMythicHook
    • killMythic

      public void killMythic(@NotNull org.bukkit.entity.Entity e)
      Specified by:
      killMythic in interface IMythicHook
    • isValid

      public boolean isValid(@NotNull String name)
      Specified by:
      isValid in interface IMythicHook
    • getName

      @NotNull public String getName(@NotNull String mobId)
      Specified by:
      getName in interface IMythicHook
    • spawnMythicMob

      @Nullable public org.bukkit.entity.Entity spawnMythicMob(@NotNull String name, @NotNull org.bukkit.Location loc, int level)
      Specified by:
      spawnMythicMob in interface IMythicHook
    • taunt

      public void taunt(org.bukkit.entity.LivingEntity target, org.bukkit.entity.LivingEntity source, double amount)
      Specified by:
      taunt in interface IMythicHook
    • getActiveMythicInstance

      public io.lumine.mythic.core.mobs.ActiveMob getActiveMythicInstance(@NotNull org.bukkit.entity.Entity entity)