VOOZH about

URL: https://minecraft.wiki/w/Tooltip

⇱ Tooltip – Minecraft Wiki


Tooltip

From Minecraft Wiki
Jump to navigation Jump to search

A tooltip is extra information that appears when hovering over or focusing on certain elements in the user interfaces, or when switching the held item.

Types of tooltips

[edit | edit source]

Item tooltips

[edit | edit source]
πŸ‘ Image
An example of an item tooltip with enchantments and attributes.

When hovering over an item with the cursor while in the inventory or a container screen, a tooltip with the item’s name appears next to the cursor. When playing with touch controls, tapping an item displays its tooltip on the bottom of the screen. Some items display extra information on their tooltips, such as enchantments and shulker box contents. In Java Edition, basic item tooltips are also visible in the "Items" section of the statistics menu when hovering over a block or item on the left side of the screen. In Bedrock Edition, tooltips in the inventory display the category of the item (Construction, Equipment, Items, or Nature) on the first line below the item name in dark blue.

In Java Edition, advanced tooltips, including item IDs and the exact remaining durability of tools, can be displayed by pressing the debug hotkey β€―+β€―.

Description of item tooltip lines

[edit | edit source]
This section is a work in progress.
 
Please help expand and improve it. The talk page may contain suggestions.

The table below describes all possible tooltip lines, including these shown when advanced tooltips are enabled. Note that table preserves the order of these lines too.

In "Content" column, cells with yellow background means the exact text displayed. Additionally, cells marked "[...]" means that this field has variable lines count.

All available information displayed on tooltips
Order Content Description Common information
0 Item name The item name.
Some data components are able to alter the default item name (note that minecraft:custom_name component has highest priority and overrides any other alterations).
Item name
1 Can hold a mixed stack of items Graphical representation of the bundle's contents and its fullness bar. Shown only on bundle items.
If bundle is empty, the description text will be printed, otherwise bundle contents stored in minecraft:bundle_contents will be shown.
This is the only case where information is presented in other form than text.
Yes
Bundle contents
Bundle fullness bar
2 Creative inventory section Section name to which the item belongs.
Shown when player is in Creative mode, and only in Search Items, Survival Inventory and Saved Hotbars tabs.
Note that in most cases this text will not appear if item has additional data components [verify].
Yes
3 Smithing Template Description of smithing template, shown only on smithing template items. Yes
<empty space>
Applies to:
Applicable items
Ingredients:
Ingredients
4 Painting's name Painting description, shown when item ID is minecraft:painting and have valid minecraft:painting/variant component. Yes
Painting's author
Painting's dimensions
5 Tropical fish's pattern The pattern of tropical fish, defined by minecraft:tropical_fish/pattern component. Yes
Tropical fish's base and pattern color The base and pattern colors of tropical fish, defined by minecraft:tropical_fish/base_color and minecraft:tropical_fish/pattern_color components. Yes
6 Goat horn's instrument Goat Horn instrument, defined by minecraft:instrument component. Yes
7 Unknown Map Shown when item has minecraft:map_id component pointing to a unknown map. Yes
Map ID Shown when item has valid minecraft:map_id component. Yes
Locked This line appears only if map with specified ID is locked.
See this article for more information.
Yes
Map scaling Additional information about map scaling and level. No
Map level
8 Number of bees The number of bees (entities) hiding inside, defined by minecraft:bees component. Displayed naturally on beehives and bee nests. Yes
9 ??????? [sic] Indicates that this item has minecraft:container_loot component. Yes
10 1st item name + amount Item names "held" in first five slots of this item, defined by minecraft:container component.
When item count is 6 or higher, the line with remaining items will be shown.
Yes
2nd item name + amount
3rd item name + amount
4th item name + amount
5th item name + amount
Count of the rest items (not their total amount)
11 1st banner pattern Six first banner patterns, defined by minecraft:banner_patterns component.
Note that banners with more than 6 patterns are uncraftable, and can be obtained only with commands.
Yes
2nd banner pattern
3rd banner pattern
4th banner pattern
5th banner pattern
6th banner pattern
12 <empty space> Materials used to craft this decorated pot, defined by minecraft:pot_decorations component. Yes
Front side material
Left side material
Right side material
Rear side material
13 Book's author Shown when minecraft:written_book_content component is present. Meant for written books. Yes
Book's generation
14 Projectile name A section describing charged projectile, defined by minecraft:charged_projectiles component. Meant to be used with crossbows.
Note that this section may appear multiple times, if the item contains multiple projectiles loaded.
Yes
Projectile's tooltip lines [note 1]
[...]
15 Flight duration Shown when item has flight_duration tag in minecraft:fireworks component. Yes
Firework effects
[...]
All firework effects applied with firework stars. Yes
16 No Effects Shown when item has minecraft:potion_contents component, but is empty. Yes
Effect name A single primary effect to be applied. Shown when item has filled potion tag in minecraft:potion_contents component. Yes
Custom effects
[...]
List of custom effects to be applied. Shown when item has entries in custom_effects list in minecraft:potion_contents component. Yes
<empty space> A section describing how item will affect on player's attributes when consumed. Yes
When Applied:
Attributes
[...]
17 Music disc name Shown when item has minecraft:jukebox_playable component with valid value. Yes
18 Upgrade: Armor trim upgrade, defined by minecraft:trim component. Yes
Trim pattern
Trim material
19 Stored enchantments
[...]
Enchantments stored in minecraft:stored_enchantments component. Meant to be used for enchanted books. Yes
20 Applied enchantments
[...]
Enchantments applied on this item, stored in minecraft:enchantments component. Yes
21 Dyed Shown when item has minecraft:dyed_color component. Yes
Color A hexadecimal color code. Replaces text above, if advanced tooltips are enabled. No
22 Lore
[...]
Custom text shown in tooltip, defined by minecraft:lore component.
By default it has "dark_purple" color and is italicized.
Yes
23 <empty space> Attribute modifiers applied when this item is held or equipped, defined in minecraft:attribute_modifiers component.
Note that this section may appear multiple times, if the component above contains many modifiers with different slot tags.
Yes
"When (...)" field [note 2]
Attributes
[...]
24 Unbreakable Shown when item is unbreakable, using minecraft:unbreakable component. Yes
25 [note 3] No Effects Shown when item has minecraft:suspicious_stew_effects component, but is empty. Yes
Effects
[...]
List of effects passed in minecraft:suspicious_stew_effects list. Yes
<empty space> A section describing how item will affect on player's attributes when consumed. Yes
When Applied:
Attributes
[...]
26 Honey amount Shown when item has honey_level tag in minecraft:block_state component. Displayed naturally on beehives and bee nests. Yes
27 Disabled in Peaceful Shown in Peaceful mode when item has id tag in minecraft:entity_data component, pointing to a mob which is not allowed in Peaceful.
See this article for more information.
Yes
28 <empty space> Shown when item ID is minecraft:spawner or minecraft:trial_spawner. Yes
Interact with Spawn Egg:
Sets mob type
Spawner entity name Shown when item ID is minecraft:spawner or minecraft:trial_spawner and has SpawnData or spawn_data tag respectively in minecraft:block_entity_data component. Yes
29 <empty space> Shows a list of blocks defined in minecraft:can_break component that can be mined with this item. Yes
Can break:
Block names
[...]
30 <empty space> Shows a list of blocks defined in minecraft:can_place_on component on which this block can be placed. Yes
Can be placed on:
Block names
[...]
31 Durability Remaining and total durability of the tool item. Hidden if item contains minecraft:unbreakable component. No
32 Item ID Internal item ID. No
33 Number of components Total number of data components. No
34 Warning: Usage warning, shown on block items with id tag in minecraft:block_entity_data component.
This is the only section that cannot be hidden using minecraft:tooltip_display component.
Yes
Use of this item might lead to command execution
Do not use unless you know the exact contents!

Held item tooltips

[edit | edit source]

When switching the item being held, the name of the item appears above the hotbar. In Bedrock Edition, held item tooltips also show enchantments and shulker box contents. In Java Edition, the β€œNotification Time” option affects how long this type of tooltip appears on-screen.

Effect tooltips

[edit | edit source]
This feature is exclusive to Java Edition.
 
πŸ‘ Image
An effect tooltip.

When effects in the inventory are displayed in the compact style, hovering over an effect icon displays more information about that effect.

Option tooltips

[edit | edit source]
This feature is exclusive to Java Edition.
 
πŸ‘ Image
An option tooltip.

When certain buttons, text fields, and sliders are hovered over, or focused on when navigating with , they show a description in the form of a tooltip. The β€œKey Binds” options menu also has tooltips to provide details on conflicts between keys.

History

[edit | edit source]

Java Edition

[edit | edit source]
Java Edition Beta
1.0Added item tooltips.
1.5Added statistics, which use tooltips in the "Blocks" and "Items" sections.
Java Edition
1.0.0Beta 1.9 Prerelease 2Item tooltips now have an outline and rounded corners.
Added potions, which display effect information on their tooltip.
Beta 1.9 Prerelease 3Added enchantments. Enchanted items display "Enchanted!!" on their tooltip.
Beta 1.9 Prerelease 4The β€œEnchanted!!” text has been removed from enchanted item tooltips, and items now display their enchantments.
1.4.212w34aβ€―+β€― now shows advanced tooltips.
12w41aAdvanced tooltips now display tool and armor durability, and map zoom levels.
1.4.612w50aAdded held item tooltips.
1.6.113w21aAttributes now display on item tooltips.
1.1116w39aAdded shulker boxes, which list their contents on their item tooltip.
1.13.118w33aTropical fish buckets now display the type of fish they are holding on their tooltip.
1.1418w43cAdded crossbows, which show what projectile is loaded on their tooltip when in that state.
??Added option tooltips.
1.1720w45aAdded bundles, which list their contents on their item tooltip.
20w46aChanged how bundles display their contents on their tooltip.
1.1821w39aAdded effect tooltips, which appear when the compact style is used for displaying effects in the inventory.
1.1922w17aAdded goat horns, which display the variant name on their tooltips.
1.19.1Pre-release 3Tooltips can no longer become offset.[1]
1.19.322w42aLong tooltips no longer get cut off at the edge of the screen.[2]
22w44aMonster spawner tooltips now display the name of the mob that it spawns. If the spawner’s mob spawn type has not been set, it instead shows information on how to do so.
Pre-release 2Tooltips now appear when navigating through menus with .
1.19.423w03aAdded the β€œNotification Display Time” option, which affects how long held item tooltips appear onscreen.
23w05aAdjusted the positioning of option tooltips to avoid covering the button being hovered over.
23w06aOption tooltips are now used in the key binds options menu to provide details on conflicts between keys.
Paintings now have special tooltips in the creative inventory.
Pre-release 2Hovering over the world name field on the world creation screen now displays a tooltip that shows the name of the folder in which the world is saved.
1.19.4
Experiment
Update 1.20
23w04aTooltips for trimmed armor now show the trim material and variant name.
Added smithing templates, which show their type, what items they can be used on, and what materials can be used with them on their tooltip.
1.2023w17aTooltips for decorated pots with pottery sherds now list the ingredients used to craft them.
1.20.223w31aUpdated the design of the tooltips in the statistics screen.[3]
1.20.524w10aNo longer appears when hovering outside the containing element.
1.2124w18aEnchanted items and potions now show more attributes on their tooltips.
1.21.2
Experiment
Bundles
24w33a Bundle tooltips have been changed again; they now feature a fullness meter and the item slots no longer have backgrounds.
It is now possible to scroll to select items in a bundle while the tooltip is displayed.
1.21.224w33aSmithing template tooltips have been changed; the variant’s name and β€œSmithing Template” have switched places.
Banner patterns now specify which variant they are in their name instead of a subtitle.
24w35aTooltips for bee nests and beehives now show the amount of bees and honey inside on their tooltips.
24w36aData packs now support custom tooltip window designs.
1.21.525w04aCrossbows will now show all charged projectiles in their tooltip instead of just the first.
25w06aTooltips for fireworks and crossbows now show a compact form of multiple repeated stars or projectiles that are identical.

Bedrock Edition

[edit | edit source]
Pocket Edition Alpha
v0.5.0Added item tooltips.
Pocket Edition
1.1.0alpha 1.1.0.0Added shulker boxes, which list their contents on their tooltip.
Bedrock Edition
1.16.0beta 1.16.0.63Held item tooltips now have a background.
1.20.10Preview 1.20.10.20Decorated pots crafted with at least one pottery sherd now list their crafting ingredients on their tooltip.
1.21.111Preview 1.21.110.22Added Armor and Armor Toughness values to vanilla armor tooltips, not working with add-on armors.

Legacy Console Edition

[edit | edit source]
Legacy Console Edition
Xbox 360Xbox OnePS3PS4PS VitaWii USwitch
TU1CU11.001.001.00Patch 11.0.1Added item tooltips.
TU3Changed the tooltip display setting to in-game tooltip display, so that tooltips always display in menus.
TU7Added potions, which display effect information on their tooltip.
Added enchantments. Enchanted items show their enchantments on their tooltip.
Added held item tooltips.
Added more descriptive tooltips for different types of tree-related blocks, silverfish blocks and stone bricks, a feature from Java Edition 1.3.1.
TU19CU71.121.121.12Attributes now display on item tooltips.
TU36CU251.281.281.28Patch 7Held item tooltips now show the rarity of the item and the first 3 rows of the item's lore.
TU53CU431.491.501.49Patch 231.0.3Added shulker boxes, which list their contents on their tooltip.

Issues

[edit | edit source]

Issues relating to "Tooltip" are maintained on the bug tracker. Issues should be reported and viewed there.

Gallery

[edit | edit source]

Examples

[edit | edit source]

Notes

[edit | edit source]
  1. ↑ Item name, bundle section, durability, item ID, number of components and usage warning are not visible there. Additionally, if item is dyed, "Dyed" will always be shown, even if advanced tooltips are enabled.
  2. ↑ Text in this field depends on the value of slot tag.
  3. ↑ This section has been designed to be displayed only in Creative mode's item picker, meaning that it is not shown when item is located in player's hotbar, nor in Creative Inventory.
    However, they are still visible in Saved Hotbars section, which may be more useful way to preview them than using /data command.

References

[edit | edit source]
  1. ↑ MC-253214 β€“ resolved as "Fixed".
  2. ↑ MC-26757 β€“ resolved as "Fixed".
  3. ↑ MC-29371 β€“ resolved as "Fixed".

Navigation

[edit | edit source]
Retrieved from "https://minecraft.wiki/w/Tooltip?oldid=3592913"

Navigation menu