Skip to content

RespawnSystems.ResetStatsRespawnSystem

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

public static class RespawnSystems.ResetStatsRespawnSystem extends RespawnSystems.OnRespawnSystem

Resets all entity stats to their default values on respawn. Requires the entity to have both Player and EntityStatMap components. Iterates through all stat values and calls resetStatValue() on each.

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.