Skip to content

DeferredCorpseRemoval

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

public class DeferredCorpseRemoval implements Component<EntityStore>

Component that defers corpse removal by a configurable time. Attached to dead entities to keep the corpse visible for a duration. Optionally specifies a death particle effect ID to spawn when the corpse is finally removed.

ModifierSignature
publicDeferredCorpseRemoval(double timeUntilCorpseRemoval, String deathParticles)
ModifierReturn TypeSignature
public staticComponentType<EntityStore, DeferredCorpseRemoval>getComponentType()
publicvoidtick(float dt)
publicbooleanshouldRemove()
publicStringgetDeathParticles()
publicComponent<EntityStore>clone()
  • Implements Component<EntityStore>
  • Used by DeathSystems.CorpseRemoval and DeathSystems.TickCorpseRemoval
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.