Class ConsumeSlotItemMechanic
java.lang.Object
io.lumine.mythic.core.skills.AbstractSkill
io.lumine.mythic.core.skills.SkillMechanic
io.lumine.mythic.core.skills.mechanics.ConsumeSlotItemMechanic
- All Implemented Interfaces:
ISkillMechanic
,ITargetedEntitySkill
,SkillHolder
-
Nested Class Summary
Nested classes/interfaces inherited from class io.lumine.mythic.core.skills.AbstractSkill
AbstractSkill.DelayedSkill
-
Field Summary
Fields inherited from class io.lumine.mythic.core.skills.SkillMechanic
clock, config, executeAfterDeath, forceSync, interval, line, originOverride, targetIsOrigin
Fields inherited from class io.lumine.mythic.core.skills.AbstractSkill
chance, conditions, conditionsTarget, conditionsTrigger, cooldown, cooldowns, delay, file, healthMod, parent, power, powerSplitBetweenTargets, repeat, repeatInterval, sourceIsOrigin, target_creative, targeter, targetInterval, threadSafetyLevel, trigger, uuid
-
Constructor Summary
ConstructorDescriptionConsumeSlotItemMechanic
(SkillExecutor manager, File file, String skill, MythicLineConfig mlc) -
Method Summary
Methods inherited from class io.lumine.mythic.core.skills.SkillMechanic
execute, executeNoTargetSkill, executeSkills, executeSkills, executeTargetedEntitySkill, executeTargetedLocationSkill, getClock, getConfigLine, getInternalName, getRunAsync, getTimerInterval, getTypeName, isAsyncSafe, isUsableFromCaster, isUsableFromSkill, resetClock, setAsyncSafe, setTimerInterval, tickClock, usable, usable, usable
Methods inherited from class io.lumine.mythic.core.skills.AbstractSkill
checkHealth, checkSkillTrigger, checkSkillTrigger, evaluateTargets, evaluateTargets, getCooldown, getFilePath, onCooldown, parseSkillCondition, parseSkillTargeter, parseSkillTrigger, rollChance, setCooldown, setParent, setTargetsCreativePlayers, targetsCreativePlayers, triggerCooldown
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.lumine.mythic.api.skills.ISkillMechanic
getPlugin, getTargetsCreatives, getTargetsSpectators, getThreadSafetyLevel
-
Constructor Details
-
ConsumeSlotItemMechanic
public ConsumeSlotItemMechanic(SkillExecutor manager, File file, String skill, MythicLineConfig mlc)
-
-
Method Details
-
castAtEntity
- Specified by:
castAtEntity
in interfaceITargetedEntitySkill
-