DamageSystems.DamageStamina
Package: com.hypixel.hytale.server.core.modules.entity.damage
public static class DamageSystems.DamageStamina extends DamageEventSystem implements EntityStatsSystems.StatModifyingSystemDrains stamina from the damaged entity when they block a hit while wielding an item with a stamina cost. Part of the inspect damage group. If the BLOCKED meta is true and the entity’s current wielding interaction has a StaminaCost, computes the stamina to consume from the initial damage amount, applies the optional STAMINA_DRAIN_MULTIPLIER, and subtracts from the stamina stat.
Related Types
Section titled “Related Types”- DamageSystems — parent class
- Damage — reads
BLOCKEDandSTAMINA_DRAIN_MULTIPLIERmeta keys - DamageEventSystem — base class
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.