Package de.Keyle.MyPet.api.skill.skills
Interface Fishing
- All Superinterfaces:
Scheduler,Skill,ToggleableSkill
Skill that lets the pet periodically fish at nearby open water, dropping
vanilla fishing loot beside itself. Radius and work interval scale with the
pet's skilltree level.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface de.Keyle.MyPet.api.skill.ToggleableSkill
ToggleableSkill.ToggleState -
Field Summary
Fields inherited from interface de.Keyle.MyPet.api.skill.ToggleableSkill
TOGGLE_CODEC -
Method Summary
Modifier and TypeMethodDescriptionReturns the upgrade computer controlling the seconds between fishing attempts.getRange()Returns the upgrade computer controlling the water search radius in blocks.Whether the pet fishes bare-pawed (true) or needs a real fishing rod in its Backpack (false).Methods inherited from interface de.Keyle.MyPet.api.skill.skilltree.Skill
applyState, getName, getName, getPet, getState, getUpgradeMessage, isActive, reset, toPrettyComponentMethods inherited from interface de.Keyle.MyPet.api.skill.ToggleableSkill
isEnabled, setEnabled
-
Method Details
-
getRange
UpgradeComputer<Number> getRange()Returns the upgrade computer controlling the water search radius in blocks.- Returns:
- the upgrade computer for the water search radius in blocks
-
getInterval
UpgradeComputer<Integer> getInterval()Returns the upgrade computer controlling the seconds between fishing attempts.- Returns:
- the upgrade computer for the seconds between fishing attempts
-
getToolless
UpgradeComputer<Boolean> getToolless()Whether the pet fishes bare-pawed (true) or needs a real fishing rod in its Backpack (false).- Returns:
- the upgrade computer backing this value
-