DamageSystems.DamageAttackerTool
Package: com.hypixel.hytale.server.core.modules.entity.damage
public static class DamageSystems.DamageAttackerTool extends DamageEventSystemReduces the durability of the attacker’s held weapon when the damage cause has durabilityLoss enabled and the source is an EntitySource. Part of the inspect damage group. Decreases the active hotbar item’s durability by 1 on the source living entity.
Related Types
Section titled “Related Types”- DamageSystems — parent class
- DamageCause — checked for
isDurabilityLoss() - Damage.EntitySource — required source type
- 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.