Package de.Keyle.MyPet.api.skill.skills
Interface Scale
- All Superinterfaces:
Skill
Skill that changes the pet's size through the vanilla
minecraft:scale
attribute. The value is an absolute delta in vanilla units added on top of the
mob's own scale (e.g. +0.2 makes a size-1.0 pet 1.2), and scales with the
pet's skilltree level. Vanilla clamps the final size to 0.0625-16.-
Method Summary
Modifier and TypeMethodDescriptiongetScale()Returns the upgrade computer controlling the pet's scale delta.Methods inherited from interface de.Keyle.MyPet.api.skill.skilltree.Skill
applyState, getName, getName, getPet, getState, getUpgradeMessage, isActive, reset, toPrettyComponent
-
Method Details
-
getScale
UpgradeComputer<Number> getScale()Returns the upgrade computer controlling the pet's scale delta.- Returns:
- the upgrade computer for the pet's scale delta
-