Lucky Stats
Per-player luck statistics for the Lucky Block mod, with a stats screen, a configurable HUD and an API
介绍
Lucky Stats
Per-player luck statistics for the Lucky Block mod (Forge 1.20.1).
Stats
Each drop is scored within the broken block’s own drop distribution, so results are comparable across addons with very different tier layouts:
- Average luck percentile, rolling (last 10 breaks) and all-time — 50% is statistically neutral
- Legendary / Cursed counters (only tiers with ≤3% probability count)
- Breaks per block type, total breaks, playtime, mob kills, current day
- Detected automatically if present: PureSuffering invasion count, Majrusz’s Progressive Difficulty game stage
Stats are per-player and per-world, and survive death, dimension changes and End return.
Display
- Stats screen on a rebindable key (default L) and a pause-menu button
- HUD: any stat can be pinned, with a drag-and-drop editor, 9-point anchoring, per-stat color, scale, shadow and background. Layout saved client-side.
API
Other mods can store and display their own stats through the same pipeline:
- Server (
com.lwi.luckystats.api.LuckyStatsApi):incrementCounter/addToLongfor custom per-player counters,recordDrop(tier, tierProbability, percentile)for custom outcome engines,markBreakDeterministic()to exclude forced drops from luck stats - Client (
LuckyStatsClientApi):registerHudStat(...)for HUD lines (with optional visibility predicate),registerScreenSection(...)for stats-screen sections
Lucky 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 Reloaded.
常见问题
Lucky Stats 支持哪些 Minecraft 版本?
Lucky Stats 支持 Minecraft Java 版 1.20.1,可用的加载器:Forge。下载时注意选择和你游戏版本一致的文件。
Lucky Stats 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 Forge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
Laink 的其他作品
查看全部 →Lucky World Invasion Reloaded
硬核、轻量且更原版,带有幸运经验经济和合作共享生命。
Lucky Tweaks
Fixes and balance tools for the Lucky Block mod: block luck that actually works, per-block luck caps, and lucky block fusion
Lucky Tools
A set of animated tools for the Lucky Block mod that let you track, gamble on, spawn and reforge with Lucky Blocks, all dropped by the new Tools Lucky Block.
Optional Suffering
Fight your way out of PureSuffering invasions: kill enough enemies to end them early.
评论
登录后评论和评分