Skip to content

Main Lobby (computed)

Derived Main Lobby statistics (fishing, zones, relics, Become Rabbit) computed from the parsed MainLobbyStats shape. Produced by computeMainLobby(raw: MainLobbyStats): MainLobbyComputed in src/computed/modes/mainlobby.ts.

Fishing catch totals aggregate the three permanent liquid types: water, lava, and ice, read from raw.fishing.stats.permanent.counts. When permanent is missing, each count record is treated as empty (all totals 0).

Conventions used on this page:

  • Ratios (treasureCatchRate, junkCatchRate, treasureToJunkRatio) are bare numbers rounded to 2 decimals. A zero denominator yields the numerator.
  • *Share fields are percentages on a 0 to 100 scale, rounded to 2 decimals (0 when the whole is 0).

MainLobbyComputed

ts
export interface MainLobbyComputed {
  readonly totalFishingCatches: number;
  readonly treasureCatchRate: number;
  readonly junkCatchRate: number;
  readonly lavaCatchShare: number;
  readonly totalOrbsCollected: number;
  readonly zonesDiscoveredCount: number;
  readonly relicsCollectedCount: number;
  readonly specialFishCaughtCount: number;
  readonly totalFishingEnchantLevels: number;
  readonly becomeRabbitTotalEaten: number;
  readonly treasureToJunkRatio: number;
  readonly uniqueFishSpeciesCaught: number;
}
FieldFormula / meaning
totalFishingCatchesSum of every category count across the water, lava, and ice permanent count records: sum(water) + sum(lava) + sum(ice).
treasureCatchRateTreasure catches per catch, as a bare ratio: totalTreasure / totalFishingCatches, where totalTreasure is the "treasure" category summed across the three liquids.
junkCatchRateJunk catches per catch, as a bare ratio: totalJunk / totalFishingCatches, where totalJunk is the "junk" category summed across the three liquids.
lavaCatchSharePercentage (0 to 100) of all catches made in lava: percent(sum(lava), totalFishingCatches).
totalOrbsCollectedSum of all values in raw.fishing.orbs.counts.
zonesDiscoveredCountNumber of true flags in raw.discoveredZones.
relicsCollectedCountNumber of true flags in raw.relics.
specialFishCaughtCountNumber of true flags in raw.fishing.specialFish.
totalFishingEnchantLevelsSum of enchant.level across all entries of raw.fishing.enchants.
becomeRabbitTotalEatenSum of all values in raw.becomeRabbit.eaten.
treasureToJunkRatioTreasure per junk catch, as a bare ratio: totalTreasure / totalJunk (equals totalTreasure when totalJunk is 0).
uniqueFishSpeciesCaughtNumber of fish species with a positive catch count in raw.fishing.stats.permanent.individual.fish (empty record when permanent is missing).

computeMainLobby

ts
export function computeMainLobby(raw: MainLobbyStats): MainLobbyComputed;

Takes the parsed MainLobbyStats from @breezil/hypixel-parsers and returns the computed block above. Category totals such as treasure and junk are computed per category name by summing water[category] + lava[category] + ice[category] with missing categories treated as 0.

Released under the MIT License.