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.
Constructors
Section titled “Constructors”| Modifier | Signature |
|---|---|
public | DeferredCorpseRemoval(double timeUntilCorpseRemoval, String deathParticles) |
Methods
Section titled “Methods”| Modifier | Return Type | Signature |
|---|---|---|
public static | ComponentType<EntityStore, DeferredCorpseRemoval> | getComponentType() |
public | void | tick(float dt) |
public | boolean | shouldRemove() |
public | String | getDeathParticles() |
public | Component<EntityStore> | clone() |
Relationships
Section titled “Relationships”- Implements
Component<EntityStore> - Used by
DeathSystems.CorpseRemovalandDeathSystems.TickCorpseRemoval
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.