Data Tip Wiki › Guides › Display Live Player Stats and World Data in Tooltips
Display Live Player Stats and World Data in Tooltips
Use Dynamic Data Components
Data Tip Mod can pull live information directly into tooltips. Add a component that reads real-time values:
`json
{
"match": "minecraft:compass",
"lines": [
{
"type": "text",
"text": "Current Position: "
},
{
"type": "dynamic",
"data": "player.x"
},
{
"type": "dynamic",
"data": "player.y"
},
{
"type": "dynamic",
"data": "player.z"
}
]
}
`
Available Data Sources
Common live values include player coordinates, health, hunger, current dimension, biome, and in-game time. Check your mod's data reference for the exact field names.
Reload and Verify
Press F3 + T to reload. Hover over your item and watch the numbers update in real time as you move around the world.