-
Notifications
You must be signed in to change notification settings - Fork 0
26.1.2 Tooltip Indicators and HUD
Dasik (Rifaditya) edited this page Aug 21, 2026
·
1 revision
| System Parameter | Value |
|---|---|
| Toggle GameRule | ig:dm_show_tooltip |
| Default State |
true (Enabled) |
| Mixin Target |
ItemStack.addDetailsToTooltip (ItemStackTooltipMixin) |
| Injection Point | @At("TAIL") |
| God Mode Style |
✦ UNBREAKABLE (Gold, Bold — ChatFormatting.GOLD, ChatFormatting.BOLD) |
| Multiplier Style |
⟨Nx Category Durability⟩ (Gray — ChatFormatting.GRAY) |
Durability Multiplier provides immediate, unambiguous feedback directly on item tooltips whenever an item's lifespan is modified.
| Status | Rendered Text | Visual Appearance | Color Code |
|---|---|---|---|
| God Mode Active | ✦ UNBREAKABLE |
✦ UNBREAKABLE | Gold, Bold (§6§l) |
| 2x Multiplier on Sword | ⟨2x Swords Durability⟩ |
⟨2x Swords Durability⟩ | Gray (§7) |
| 4x Multiplier on Pickaxe | ⟨4x Tools Durability⟩ |
⟨4x Tools Durability⟩ | Gray (§7) |
| 5x Multiplier on Elytra | ⟨5x Elytra Durability⟩ |
⟨5x Elytra Durability⟩ | Gray (§7) |
| 3x Multiplier on Mod Item | ⟨3x Ruby Scythe Durability⟩ |
⟨3x Ruby Scythe Durability⟩ | Gray (§7) |
| Vanilla Multiplier (1x) | (None) | (No extra tooltip line rendered) | — |
[Item Tooltip Render]
│
▼
[Is Player on Integrated Server?]
├── YES ──► Read GameRules from ServerLevel
│ (DurabilityHelper.getTooltipLabel)
│
└── NO (Remote Server) ──► Read Synced Client Cache
(DurabilityClientState)
-
Integrated Server (Singleplayer / LAN Host): Tooltips query active
ServerLevelGameRules directly in real time. -
Dedicated Client (Multiplayer Connected): Tooltips read from
DurabilityClientState, which is populated viaDurabilityPayloadnetwork packets whenever server GameRules change.
Durability Multiplier is engineered with ❤️ by Dasik (Rifaditya) | Licensed under GNU General Public License v3.0 (GPL-3.0-or-later).
📌 Repository Source Disclaimer: The documentation in this Wiki reflects the current source code state in the repository, which may include recent unreleased commits or developmental features ahead of public release builds on CurseForge and Modrinth.
- 26.2 Hub
- 26.2 Multipliers
- 26.2 God Mode
- 26.2 Damage & Math
- 26.2 Item Classification
- 26.2 Dynamic Registry
- 26.2 Tooltips & HUD
- 26.2 Network Protocol
- 26.2 GameRules Table
- 26.2 Commands & Admin
- 26.2 Advancements
- 26.2 Configuration
- 26.2 ModVersionGuard
- 26.2 Architecture & Mixins
- 26.2 Developer Setup
- 26.2 API & Addons
- 26.2 FAQ & Diagnostics
- 26.1.2 Hub
- 26.1.2 Multipliers
- 26.1.2 God Mode
- 26.1.2 Damage & Math
- 26.1.2 Item Classification
- 26.1.2 Dynamic Registry
- 26.1.2 Tooltips & HUD
- 26.1.2 Network Protocol
- 26.1.2 GameRules Table
- 26.1.2 Commands & Admin
- 26.1.2 Advancements
- 26.1.2 Configuration
- 26.1.2 Architecture & Mixins
- 26.1.2 Developer Setup
- 26.1.2 API & Addons
- 26.1.2 FAQ & Diagnostics