DamageSystems.RecordLastCombat
Package: com.hypixel.hytale.server.core.modules.entity.damage
public static class DamageSystems.RecordLastCombat extends DamageEventSystemRecords the timestamp of the last combat action on both the damaged entity and the attacker (if applicable). Part of the inspect damage group. Sets DamageDataComponent.lastCombatAction on the target, and also on the source entity if the source is an EntitySource with a valid reference that has a DamageDataComponent.
Related Types
Section titled “Related Types”- DamageSystems — parent class
- Damage.EntitySource — checked for bidirectional combat tracking
- 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.