Wiki 9Minecraft Wiki 9Minecraft
Data Tip Wiki › Guides › How to Add 3D Models, Charts, and Live Stats to Tooltips

How to Add 3D Models, Charts, and Live Stats to Tooltips

Embedding Visual Elements

Beyond static text, you can embed dynamic visual elements directly into item hover boxes through your datatip.json definitions.

  • 3D Models: Display 3D rotating blocks and mob models directly inside the tooltip frame. You can also render item icons and custom textures alongside text.
  • Data Graphs: Render visual charts—including bar graphs, pie charts, and line graphs—to present data visually.
  • Animated Effects: Add progress bars to track values, carousels to cycle entries, or typewriter text effects for animated line displays.

Displaying Live In-Game Data

The mod can pull live player and world information into the tooltip in real time:

  • Durability: Track an item's remaining durability dynamically.
  • Player Health: Show the player's current health values inside the hover box.
  • World Tracking: Display your current world coordinates and the in-game time.

These values update dynamically while you hover over the item, reflecting real-time changes in your world without requiring a pack reload.