Client-side Fabric mod for Hypixel SkyBlock — Sun Gecko (Rift) combat optimizer HUD
  • Java 99.2%
  • Shell 0.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
openclaw 4f3f093108 Seed hits damage at 1/combo-unit; shrink Combo Buff box to head size
Hits-remaining: in-game you start at 1 dmg and damage = combo, so the per-combo-unit
damage is seeded at 1.0 (new hitsRemaining.baseDamagePerCombo). The projection is now
accurate from the first hit (250 HP, combo x1 = 1 dmg) instead of waiting to learn;
measured samples still override the seed if a buff changes it. Projection keeps using
the parsed hits-to-next-combo progression.

Combo Buff highlight: the box used the full (invisible) armor-stand bounding box. It is
now a small cube sized to the head only, centred at the stand top, with configurable
comboBuff.headBoxSize (0.55) and headYOffset (0.0) to fine-tune in-game.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-10-08 16:29:41 +00:00
.github/workflows CI: also build+release on every push to main 2026-10-08 14:42:15 +00:00
src/main Seed hits damage at 1/combo-unit; shrink Combo Buff box to head size 2026-10-08 16:29:41 +00:00
.gitignore Scaffold Sun Gecko Optimizer — Fabric 26.1.2 client-side mod 2026-08-21 13:06:54 +00:00
build.gradle Mod Menu config screen via YetAnotherConfigLib (v0.4.0) 2026-08-22 16:57:21 +00:00
build2.sh Project combo-scaled damage for accurate hits-remaining 2026-10-08 15:04:34 +00:00
build3.sh Seed hits damage at 1/combo-unit; shrink Combo Buff box to head size 2026-10-08 16:29:41 +00:00
gradle.properties Seed hits damage at 1/combo-unit; shrink Combo Buff box to head size 2026-10-08 16:29:41 +00:00
LICENSE License: relicense MIT -> GNU GPLv3 (copyleft, same-license redistribution) 2026-08-21 17:20:31 +00:00
README.md License: relicense MIT -> GNU GPLv3 (copyleft, same-license redistribution) 2026-08-21 17:20:31 +00:00
settings.gradle Scaffold Sun Gecko Optimizer — Fabric 26.1.2 client-side mod 2026-08-21 13:06:54 +00:00
STATUS.md Learn real per-hit damage for hits-remaining estimate 2026-10-08 14:18:45 +00:00

Sun Gecko Optimizer

Client-side Fabric mod for Minecraft 26.1.2 that helps optimise Sun Gecko (Rift) combat on Hypixel SkyBlock. It only shows information and visual indicators — HP, combo, hits-to-kill, mechanic timers, outlines, a direction line. No automation of any kind (no auto-click / aim / move / attack / interact).

Status: scaffold / foundation. All the version-independent logic is implemented and modular; the parts that must read real in-game data are wired as clearly-scoped adapters and documented in STATUS.md. See "What is and isn't done" below.

Verified toolchain (checked 2026-08-21 against fabricmc.net / modrinth)

Component Version Notes
Minecraft 26.1.2 recognised by Fabric meta
Fabric Loader 0.19.3 stable
Fabric API 0.155.2+26.1.2
Mappings Official Mojang Yarn is not published for 26.1.2 → loom.officialMojangMappings()
Mod Menu 18.0.0 config button in mods list
Java 21+ required by MC 26.x
Loom 1.11-SNAPSHOT bump if the first build rejects the MC version

Build

gradle wrapper            # first time, to generate ./gradlew
./gradlew build           # -> build/libs/sun-gecko-optimizer-<ver>.jar
./gradlew runClient       # dev client

Drop the built jar + Fabric API into .minecraft/mods.

Architecture

Everything routes through one detector and small single-responsibility services. Logic is kept off raw Minecraft types (via EntitySnapshot / HudRenderer / WorldRenderer adapters) so it is unit-testable and survives mapping changes.

SunGeckoOptimizer (ClientModInitializer)   ← plumbing only
├─ detection/  SunGeckoDetector            ← central classify(): TRUE / FAKE / OTHER
│              strategy/{Metadata,DisplayName,EntityType}Strategy (weighted votes)
├─ combat/     CombatTracker, CombatSession, HitsRemainingEstimator
├─ game/       PlayerStats, HypixelParser  ← scoreboard/actionbar/title → stats
├─ mechanics/  SpiritBeamTracker, HazardZoneTracker  ← event-first timers
├─ hud/        HudManager + HudRenderer    ← all 2D elements, one layout owner
├─ render/     WorldRenderManager + WorldRenderer  ← direction line + outlines
└─ config/     ModConfig, ConfigManager, ModMenuIntegration

Design rules honoured

  • Detect, don't guess (spec #4/#5): mechanics are driven by real detected events; a hard-coded timer is only ever a fallback exposed in settings (#6).
  • Never fabricate certainty: strategies that lack a confirmed signature abstain (return 0) instead of forcing a wrong TRUE/FAKE — so we never flag every gecko-looking entity as fake (#14).
  • Strictly client-side, zero automation (#7/#8): only read + render callbacks are registered; no packets sent, no input touched.

What is and isn't done

Done (works regardless of Hypixel specifics):

  • Full config model + JSON load/save + Mod Menu hook.
  • SunGeckoDetector weighted-strategy engine + per-UUID sticky cache.
  • Combat state machine + precise 1m 05.42s duration formatting + last-kill store.
  • Hits-remaining damage model (base × combo-scaling × multiplier) with a lastMissing() report for the debug overlay — not hp / baseDamage.
  • Spirit Beam / Hazard Zone event-first timers + ICE warning logic.
  • HUD layout for every element; world-render layout for line + outlines.

Needs a live Hypixel capture to finish (see STATUS.md):

  • The concrete name / entity-type / metadata signatures that identify the true gecko vs "Extreme Speed" decoys.
  • The exact scoreboard/action-bar wording for combo, essence, XP.
  • The real Spirit Beam / Hazard Zone start & end signals (title? boss bar? anim?).
  • The four live adapters in SunGeckoOptimizer (entity sweep, text sweep, HUD bridge, world bridge) against confirmed 26.1.2 signatures.

These are intentionally not guessed. Fill them from a /dev-mode capture and the rest of the mod lights up.

License

GNU GPL v3 (GPL-3.0-or-later) — see LICENSE. Free/libre and copyleft: you may use, study, modify and redistribute it, but any distributed copy or derivative work must be released under the same GPLv3 license and ship its source. Contributions are accepted under the same terms.