Skip to content

DamageSystems.RecordLastCombat

Package: com.hypixel.hytale.server.core.modules.entity.damage

public static class DamageSystems.RecordLastCombat extends DamageEventSystem

Records 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.

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.