Contents
Class DeferredCorpseRemoval
java.lang.Object
com.hypixel.hytale.server.core.modules.entity.damage.DeferredCorpseRemoval
- All Implemented Interfaces:
Component<EntityStore>, Cloneable
When present on an entity with the
DeathComponent, this will delay the removal of the corpse by the amount of time specified during its creation.-
Constructor Details
-
DeferredCorpseRemoval
-
-
Method Details
-
getComponentType
-
tick
public void tick(float dt) -
shouldRemove
public boolean shouldRemove() -
getDeathParticles
-
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Returns:
- a clone instance of the original component instance.
-