Package de.Keyle.MyPet.api.skill.skills
Interface Control
- All Superinterfaces:
Skill
Skill that enables the owner to direct their pet to move to a specific location by
left-clicking on a block with a configured control item. When active, the pet pathfinds
to the clicked position rather than following the owner.
The skill is either unlocked or not, controlled by a single boolean
UpgradeComputer.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the upgrade computer controlling whether the Control skill is unlocked.Methods inherited from interface de.Keyle.MyPet.api.skill.skilltree.Skill
applyState, getName, getName, getPet, getState, getUpgradeMessage, isActive, reset, toPrettyComponent
-
Method Details
-
getActive
UpgradeComputer<Boolean> getActive()Returns the upgrade computer controlling whether the Control skill is unlocked.- Returns:
- the upgrade computer for whether the Control skill is unlocked
-