Package de.Keyle.MyPet.api.skill.skills
Interface Taunt
Skill that lets the pet growl at nearby hostile mobs, diverting their attention away
from the owner and onto the pet. Mobs currently targeting the owner within range are
retargeted to the pet on a periodic pulse via the
Scheduler tick cycle.
Only mobs whose current target is the pet's owner are affected — players are never retargeted, and other MyPet pets are left alone.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the upgrade computer controlling the seconds between taunt pulses.getRange()Returns the upgrade computer controlling the taunt radius in blocks.Methods inherited from interface de.Keyle.MyPet.api.skill.skilltree.Skill
applyState, getName, getName, getPet, getState, getUpgradeMessage, isActive, reset, toPrettyComponent
-
Method Details
-
getRange
UpgradeComputer<Number> getRange()Returns the upgrade computer controlling the taunt radius in blocks.- Returns:
- the upgrade computer for the taunt radius in blocks
-
getInterval
UpgradeComputer<Integer> getInterval()Returns the upgrade computer controlling the seconds between taunt pulses.- Returns:
- the upgrade computer for the seconds between taunt pulses
-