life_xp_challenge-1.6.1-fabric.jar
Curse Maven Snippet
What's new
# v1.6.1 - UI Overhaul, Sync Triggers & Modern Asset Binding ## 🎨 Interface and Command Line (Server & Client UI) * **Interactive pagination `/lifexp status [page]`:** * Complete refactoring of parameter output: the list of 15 attributes is split into pages of 5–6 items. * Interactive clickable page-turning buttons `[◀]` and `[▶]` (`ClickEvent.RUN_COMMAND`). * Raw technical identifiers (such as `submerged_mining_speed`) have been hidden: human-readable, localised names have been implemented. * Fine details (50% cap step and scaling type) have been moved to compact tooltips `HoverEvent.ShowText`. * **Redesign of the `/lifexp top` leaderboard:** * Added gradient differentiation for prize positions (Gold for 1st place, Silver for 2nd place, Bronze/Red for 3rd place). * Standardised the visual style of frames and separators to match the mod’s colour scheme (`GOLD` + `DARK_GRAY`). * **Attribute preview (`/lifexp get attr`):** * Converted to a standardised status formatting scheme with tooltips. ## ⚙️ Synchronisation and Network (Network & State Fixes) * **One-Shot Sync via the ESC key:** * A client-side interceptor for `ClientGuiEvent.SET_SCREEN` has been implemented to open the `PauseScreen`. * When the pause menu is called, a point-to-point C2S synchronisation packet is sent: the server performs an immediate recalculation and pushes a `ClientboundUpdateAttributesPacket`. The issue of heart containers (`generic.max_health`) getting stuck has been resolved without placing a constant load on the server tick. * **Network Architecture Adaptation:** * Network packet signatures have been updated to comply with modern `CustomPacketPayload` standards. ## 🖼️ Assets and Rendering (Assets & Tree Fixes) * **Achievements tab background fix:** * Fixed the black-and-purple chequerboard pattern (missing texture) in the root node of the achievements tree (`root.json`). * Correctly linked the background tiling resource (`life_xp_challenge:textures/gui/advancements/backgrounds/root_bg.png`) with a safe fallback. * **Render buffer safety:** * Matrix transformations in `LifeXpVisualsClient` have been isolated in the event of an early exit via `isDeadOrDying()`.
This mod has no additional files

