1.2.0
Curse Maven Snippet
What's new
ModernStatistic - 1.2.0
What is changed?
Change version number from previous to 1.2.0
➕Add:
- add the license
- Add stat_type.minecraft.* lang keys in en_US/zh_CN so Panel-mode block and item tooltips show proper mined/crafted/used/broken labels instead of raw key names
- TPanelElement: add 'scrollable' flag (default false, mirrors
- Add TElement tooltip API and port tcdcommons TTooltipElement (black box + #1B003E border, white wrapped text); wire screen-level tooltip rendering into TBetterStatsScreen with focused-over-hovered search, viewport clipping check and blocking-overlay suppression; migrate BSStatPanel_Items/Mobs from CatFrame WidgetTooltipHolder to setTooltip
🔧Fix:
- Fix wheel scroll over non-panel areas shifting the whole layout
- Fix (mirrors original BetterStats 1.18.2 / TCDCommons-2.2 behavior, directly (mirrors TScrollBarWidget#mouseScrolled), fixing the wheel
❗❗❗Deprecated:
- Always show item/block stat tooltip lines even when the count is 0; removed the >0 guards in BSStatPanel_Items and BSStatPanel_Blocks buildTooltipLines
- Replace tcdcommons-style tooltip with a vanilla 1.7.10 drawHoveringText replica: dark purple box #F0100010, top-to-bottom gradient border #505000FF to #5028007F, white drop-shadow text on 10px line grid, cursor-anchored (+12/-12) positioning with screen-edge flipping; drop soft-wrap, max-width and element-relative placement
Notes
Full Changelog: https://github.com/song682/modern-statistic/commits/v1.2.0