RespawnSystems.OnRespawnSystem
Package: com.hypixel.hytale.server.core.modules.entity.damage
public abstract static class RespawnSystems.OnRespawnSystem extends RefChangeSystem<EntityStore, DeathComponent>Abstract base class for systems that react to DeathComponent removal (respawn). Extends RefChangeSystem parameterized with DeathComponent. Subclasses override onComponentRemoved() to handle respawn. The onComponentAdded() and onComponentSet() methods are no-ops by default.
Methods
Section titled “Methods”@Nonnull@Overridepublic ComponentType<EntityStore, DeathComponent> componentType()Returns DeathComponent.getComponentType().
Related Types
Section titled “Related Types”- RespawnSystems — parent class
- DeathComponent — the component tracked
- DeathSystems.OnDeathSystem — similar base that reacts to addition
Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.