Package de.Keyle.MyPet.api.skill.skills
Interface Armor
- All Superinterfaces:
Skill
Skill that grants the pet vanilla armor points and armor toughness via attribute
modifiers, so incoming damage (melee, projectiles, explosions) is reduced by
Minecraft's own armor formula.
-
Method Summary
Modifier and TypeMethodDescriptiongetArmor()Returns the upgrade computer controlling the pet's bonus armor points.Returns the upgrade computer controlling the pet's bonus armor toughness.Methods inherited from interface de.Keyle.MyPet.api.skill.skilltree.Skill
applyState, getName, getName, getPet, getState, getUpgradeMessage, isActive, reset, toPrettyComponent
-
Method Details
-
getArmor
UpgradeComputer<Integer> getArmor()Returns the upgrade computer controlling the pet's bonus armor points.- Returns:
- the upgrade computer for the pet's bonus armor points
-
getToughness
UpgradeComputer<Integer> getToughness()Returns the upgrade computer controlling the pet's bonus armor toughness.- Returns:
- the upgrade computer for the pet's bonus armor toughness
-