DeathSystems.SpawnedDeathAnimation
Package: com.hypixel.hytale.server.core.modules.entity.damage
public static class DeathSystems.SpawnedDeathAnimation extends RefSystem<EntityStore>Plays the death animation on entities that are spawned into the world already dead (i.e., they have a DeathComponent when added to the store). This handles the case where a dead entity is loaded from persistence. Triggers on onEntityAdded for entities matching the dead living entity query. The onEntityRemove method is a no-op.
Related Types
Section titled “Related Types”- DeathSystems — parent class
- DeathSystems.DeathAnimation — plays animation when death component is added at runtime
- DeathComponent — required component
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.