Interface Taunt

All Superinterfaces:
Scheduler, Skill

public interface Taunt extends Skill, Scheduler
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 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