- Java 99.2%
- Shell 0.8%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
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> |
||
| .github/workflows | ||
| src/main | ||
| .gitignore | ||
| build.gradle | ||
| build2.sh | ||
| build3.sh | ||
| gradle.properties | ||
| LICENSE | ||
| README.md | ||
| settings.gradle | ||
| STATUS.md | ||
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.
SunGeckoDetectorweighted-strategy engine + per-UUID sticky cache.- Combat state machine + precise
1m 05.42sduration formatting + last-kill store. - Hits-remaining damage model (base × combo-scaling × multiplier) with a
lastMissing()report for the debug overlay — nothp / 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.