hud: port Health, Durability, Speed and Uptime from Sydney
- Health: center-screen health number with Sydney's four-way black outline and its green->dark green->yellow->gold->red->dark red thresholds, absorption included - Durability: held item's remaining points, green-to-red by fraction left (Sydney's formula), Label toggle, "--" while holding something unbreakable - Speed: last-tick horizontal movement, Unit mode Meters (m/s) or Kilometers (km/h), Label toggle - Uptime: HH:MM:SS since the client registered its modules, Label toggle
This commit is contained in:
@@ -22,9 +22,13 @@ import cc.fros.features.modules.combat.SurroundModule;
|
||||
import cc.fros.features.modules.hud.ArrayListHudModule;
|
||||
import cc.fros.features.modules.hud.ArmorHudModule;
|
||||
import cc.fros.features.modules.hud.CrystalHudModule;
|
||||
import cc.fros.features.modules.hud.DurabilityHudModule;
|
||||
import cc.fros.features.modules.hud.HealthHudModule;
|
||||
import cc.fros.features.modules.hud.ServerHudModule;
|
||||
import cc.fros.features.modules.hud.SpeedHudModule;
|
||||
import cc.fros.features.modules.hud.TotemHudModule;
|
||||
import cc.fros.features.modules.hud.TpsHudModule;
|
||||
import cc.fros.features.modules.hud.UptimeHudModule;
|
||||
import cc.fros.features.modules.hud.XpHudModule;
|
||||
import cc.fros.features.modules.hud.CoordinatesHudModule;
|
||||
import cc.fros.features.modules.hud.FpsHudModule;
|
||||
@@ -75,6 +79,10 @@ public class ModuleManager implements Jsonable, Util {
|
||||
register(new TotemHudModule());
|
||||
register(new CrystalHudModule());
|
||||
register(new XpHudModule());
|
||||
register(new HealthHudModule());
|
||||
register(new DurabilityHudModule());
|
||||
register(new SpeedHudModule());
|
||||
register(new UptimeHudModule());
|
||||
register(new HudEditorModule());
|
||||
register(new ClickGuiModule());
|
||||
register(new NotificationsModule());
|
||||
|
||||
Reference in New Issue
Block a user