Per-player luck statistics for the Lucky Block mod (Forge 1.20.1).
Each drop is scored within the broken block's own drop distribution, so results are comparable across addons with very different tier layouts:
Stats are per-player and per-world, and survive death, dimension changes and End return.
Other mods can store and display their own stats through the same pipeline:
com.lwi.luckystats.api.LuckyStatsApi): incrementCounter / addToLong for custom per-player counters, recordDrop(tier, tierProbability, percentile) for custom outcome engines, markBreakDeterministic() to exclude forced drops from luck statsLuckyStatsClientApi): registerHudStat(...) for HUD lines (with optional visibility predicate), registerScreenSection(...) for stats-screen sectionsLucky Tools uses this API for its Wand statistics. Usable from KubeJS via Java.loadClass.
Requires Lucky Block. Optional: PureSuffering, Majrusz's Progressive Difficulty. Built for Lucky World Invasion — Hardcore.