public class SkillManager extends PluginComponent
Constructor and Description |
---|
SkillManager(MythicMobs core) |
Modifier and Type | Method and Description |
---|---|
void |
executeMobTimerSkills(ActiveMob am,
long timer) |
com.google.common.collect.ImmutableMap<String,Class<? extends SkillCondition>> |
getConditions() |
List<SkillCondition> |
getConditions(List<String> block) |
List<SkillCondition> |
getConditions(String block) |
com.google.common.collect.ImmutableMap<String,Class<? extends SkillMechanic>> |
getMechanics() |
Optional<Skill> |
getSkill(String internalName) |
SkillMechanic |
getSkillMechanic(String skill) |
Collection<String> |
getSkillNames() |
Collection<Skill> |
getSkills() |
com.google.common.collect.ImmutableMap<String,Class<? extends SkillTargeter>> |
getTargeters() |
void |
load(MythicMobs plugin) |
void |
loadSkills() |
void |
queueAfterLoad(Runnable r) |
void |
queueSecondPass(Runnable r) |
void |
registerSkill(String internalName,
Skill skill) |
void |
runSecondPass() |
void |
runTimerSkills(long timer) |
void |
unload() |
bind, close, doBinding, getPlugin, setup
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public SkillManager(MythicMobs core)
public void load(MythicMobs plugin)
load
in class io.lumine.utils.plugin.PluginModule<MythicMobs>
public void unload()
unload
in class io.lumine.utils.plugin.PluginModule<MythicMobs>
public void loadSkills()
public void runSecondPass()
public void queueSecondPass(Runnable r)
public void queueAfterLoad(Runnable r)
public Collection<String> getSkillNames()
public Collection<Skill> getSkills()
public com.google.common.collect.ImmutableMap<String,Class<? extends SkillCondition>> getConditions()
public com.google.common.collect.ImmutableMap<String,Class<? extends SkillMechanic>> getMechanics()
public com.google.common.collect.ImmutableMap<String,Class<? extends SkillTargeter>> getTargeters()
public SkillMechanic getSkillMechanic(String skill)
public void runTimerSkills(long timer)
public void executeMobTimerSkills(ActiveMob am, long timer)
public List<SkillCondition> getConditions(List<String> block)
public List<SkillCondition> getConditions(String block)
Copyright © 2020. All rights reserved.