Wiki 9Minecraft Wiki 9Minecraft

Show Hidden Tooltip Details Only When Holding Shift

Java EditionModGuides 4FAQ 10Related mods 48
DownloadData Tip Mod

Get the files on 9Minecraft

Contents (3)
  1. Mark Lines as Hidden
  2. Configure the Keybind
  3. Test the Behavior

Mark Lines as Hidden

Use the hidden property to keep certain tooltip lines invisible until the player presses Shift:

`json

{

"match": "minecraft:enchanted_book",

"lines": [

{

"text": "Enchanted Book"

},

{

"text": "Hold Shift for details",

"color": "#AAAAAA"

},

{

"text": "Enchantment: Sharpness V",

"hidden": true

},

{

"text": "Rarity: Legendary",

"hidden": true

}

]

}

`

Configure the Keybind

By default, Left Shift reveals hidden lines. This keybind is typically configurable in the mod settings.

Test the Behavior

Reload with F3 + T. Hover over the item normally to see only visible lines. Then hold Shift while hovering to reveal the hidden details.

More guides for this mod