Skip to content

DeathSystems

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

public class DeathSystems

Container for ECS systems that handle entity death. Each inner system extends OnDeathSystem (a RefChangeSystem watching DeathComponent addition) and performs a specific death action: clearing health, clearing effects, playing death animations, running death interactions, dropping player items, displaying death screen, posting kill feed, tracking death markers, configuring item loss, and notifying killers.

ClassDescription
DeathSystems.ClearEntityEffectsClears all active entity effects on death
DeathSystems.ClearHealthSets health stat to 0 on death
DeathSystems.ClearInteractionsClears the interaction manager on death
DeathSystems.CorpseRemovalRemoves dead non-player entities after corpse timer or immediately
DeathSystems.DeathAnimationPlays death animation based on death cause and movement state
DeathSystems.DropPlayerDeathItemsDrops or damages player inventory items based on death config
DeathSystems.KillFeedSends kill feed messages to all players in the world
DeathSystems.OnDeathSystemAbstract base extending RefChangeSystem for DeathComponent
DeathSystems.PlayerDeathMarkerRecords death marker in player’s world data
DeathSystems.PlayerDeathScreenOpens the respawn page on death
DeathSystems.PlayerDropItemsConfigConfigures item loss mode from world’s DeathConfig
DeathSystems.PlayerKilledPlayerSends kill notification to the attacking player
DeathSystems.RunDeathInteractionsExecutes death interaction chain
DeathSystems.SpawnedDeathAnimationPlays death animation for entities that spawn already dead
DeathSystems.StopVoiceOnDeathSilences voice chat on death
DeathSystems.TickCorpseRemovalTicks the deferred corpse removal timer
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.