Skip to content

DamageEventSystem

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

public abstract class DamageEventSystem extends EntityEventSystem<EntityStore, Damage>

Abstract base class for ECS systems that process Damage events on the EntityStore. Parameterizes EntityEventSystem with Damage.class so subclasses only need to implement the handle() method to react to incoming damage events. Nearly all damage processing systems in DamageSystems extend this class.

protected DamageEventSystem()

Calls super(Damage.class) to register this system as a handler for Damage events.

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