Interface Mining

All Superinterfaces:
Scheduler, Skill, ToggleableSkill

public interface Mining extends Skill, Scheduler, ToggleableSkill
Skill that lets the pet periodically mine one exposed ore block near itself, dropping the ore's natural drops. Radius and work interval scale with the pet's skilltree level.
See Also:
  • Method Details

    • getRange

      UpgradeComputer<Number> getRange()
      Returns the upgrade computer controlling the ore search radius in blocks.
      Returns:
      the upgrade computer for the ore search radius in blocks
    • getInterval

      UpgradeComputer<Integer> getInterval()
      Returns the upgrade computer controlling the seconds between mining attempts.
      Returns:
      the upgrade computer for the seconds between mining attempts
    • getToolless

      UpgradeComputer<Boolean> getToolless()
      Whether the pet mines bare-pawed (true) or needs a real pickaxe in its Backpack (false).
      Returns:
      the upgrade computer backing this value